diff --git a/autoXRAYselfstealConfChina.sh b/autoXRAYselfstealConfChina.sh index 8e6c3d1..dfec98f 100644 --- a/autoXRAYselfstealConfChina.sh +++ b/autoXRAYselfstealConfChina.sh @@ -308,7 +308,7 @@ cat << 'EOF' | envsubst > "$WEB_PATH/$path_subpage.html" "dns": { "servers": [ { - "address": "8.8.8.8", + "address": "https://8.8.4.4/dns-query", "domains": [ "geosite:geolocation-!cn" ] diff --git a/autoXRAYselfstealConfRU.sh b/autoXRAYselfstealConfRU.sh index c859dbf..eca9afd 100644 --- a/autoXRAYselfstealConfRU.sh +++ b/autoXRAYselfstealConfRU.sh @@ -306,10 +306,9 @@ cat << 'EOF' | envsubst > "$WEB_PATH/$path_subpage.html" }, "dns": { "servers": [ - "8.8.4.4", - "8.8.8.8", - "1.1.1.1", - "localhost" + "https://8.8.4.4/dns-query", + "https://8.8.8.8/dns-query", + "https://1.1.1.1/dns-query" ], "queryStrategy": "UseIPv4" }, diff --git a/autoXRAYselfstealConfRUbrEU.sh b/autoXRAYselfstealConfRUbrEU.sh index 4e4c0d1..76de563 100644 --- a/autoXRAYselfstealConfRUbrEU.sh +++ b/autoXRAYselfstealConfRUbrEU.sh @@ -429,10 +429,9 @@ cat << 'EOF' | envsubst > "$WEB_PATH/$path_subpage.html" }, "dns": { "servers": [ - "8.8.4.4", - "8.8.8.8", - "1.1.1.1", - "localhost" + "https://8.8.4.4/dns-query", + "https://8.8.8.8/dns-query", + "https://1.1.1.1/dns-query" ], "queryStrategy": "UseIPv4" },