From 29b6d11662ab9182075420c7f452465b81727c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=AC=E5=93=A5=E4=BE=83=E4=BE=83=E4=BE=83ygkkk?= <121604513+yonggekkk@users.noreply.github.com> Date: Tue, 1 Apr 2025 17:07:47 +0800 Subject: [PATCH] Update serv00keep.sh --- serv00keep.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serv00keep.sh b/serv00keep.sh index b9583ba..7d7e34c 100644 --- a/serv00keep.sh +++ b/serv00keep.sh @@ -671,9 +671,9 @@ fi argodomain=$(get_argodomain) rm -rf ${FILE_PATH}/*.txt echo -e "\e[1;32mArgo域名:\e[1;35m${argodomain}\e[0m\n" -a=$(dig @8.8.8.8 +time=5 +short "web$nb.${hona}.com" | sort -u) +a=$(dig @8.8.8.8 +time=5 +short "web$nb.serv00.com" | sort -u) b=$(dig @8.8.8.8 +time=5 +short "$HOSTNAME" | sort -u) -c=$(dig @8.8.8.8 +time=5 +short "cache$nb.${hona}.com" | sort -u) +c=$(dig @8.8.8.8 +time=5 +short "cache$nb.serv00.com" | sort -u) if [[ "$IP" == "$a" ]]; then CIP1=$b; CIP2=$c elif [[ "$IP" == "$b" ]]; then