diff --git a/serv00.sh b/serv00.sh index 9abc20b..c0ddd3b 100644 --- a/serv00.sh +++ b/serv00.sh @@ -1331,7 +1331,7 @@ dig @8.8.8.8 +time=5 +short "web$nb.serv00.com" >> $WORKDIR/hy2ip.txt dig @8.8.8.8 +time=5 +short "$HOSTNAME" >> $WORKDIR/hy2ip.txt dig @8.8.8.8 +time=5 +short "cache$nb.serv00.com" >> $WORKDIR/hy2ip.txt for host in "${ym[@]}"; do -response=$(curl -sL --connect-timeout 5 --max-time 7 "https://ss.serv0.us.kg/api/getip?host=$host") +response=$(curl -sL --connect-timeout 5 --max-time 7 "https://ss.fkj.pp.ua/api/getip?host=$host") if [[ "$response" =~ ^$|unknown|not|error ]]; then dig @8.8.8.8 +time=5 +short $host >> $WORKDIR/ip.txt sleep 1