Update serv00keep.sh

This commit is contained in:
甬哥侃侃侃ygkkk
2025-02-22 12:41:26 +08:00
committed by GitHub
parent 76990cd6a8
commit 54635120ad
+1 -1
View File
@@ -54,7 +54,7 @@ dig @8.8.8.8 +time=5 +short "web$nb.serv00.com" >> hy2ip.txt
dig @8.8.8.8 +time=5 +short "$HOSTNAME" >> hy2ip.txt
dig @8.8.8.8 +time=5 +short "cache$nb.serv00.com" >> 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 >> ip.txt
sleep 1