Update InstallNET.sh

This commit is contained in:
Molly Lau 2023-11-20 11:01:13 +09:00 committed by GitHub
parent 453584845b
commit 67aef6084b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -379,8 +379,8 @@ function checkCN() {
# If testing servers are all unaccessible, the server may be in mainland of China.
[[ $(echo $tmpIsCN | grep -o "cn" | wc -l) == "4" ]] && {
IsCN="cn"
ipDNS="119.29.29.29 223.6.6.6"
ip6DNS="2402:4e00:: 2400:3200::1"
[[ -z "$ipDNS" ]] && ipDNS="119.29.29.29 223.6.6.6"
[[ -z "$ip6DNS" ]] && ip6DNS="2402:4e00:: 2400:3200::1"
}
}