#VIPS="radarr sonarr lidarr jackett transmission argocd calibre books airsonic"

VIPS=$(grep 192.168.1.87 pihole/pihole.yaml | grep -v mysql |  grep -v tesseract | sed -e 's/192.168.1.87//g'| sed -e 's/ //g' | sort)

for i in ${VIPS}; do
  if true | echo quit | openssl s_client -connect ${i}.dezendorf.net:443 -brief 2>&1 | grep error > /dev/null; then
    echo "Host ${i}.dezendorf.net is in error"
  fi

done
