Remove DNS settings for IPv4 and IPv6

Removed DNS configuration for IPv4 and IPv6.
This commit is contained in:
甬哥侃侃侃ygkkk
2026-03-03 18:31:14 +08:00
committed by GitHub
parent f21af9cdaa
commit 74c7b34390
+9 -13
View File
@@ -155,12 +155,8 @@ ipv=prefer_ipv4
fi
if [ -n "$(curl -s6m5 icanhazip.com -k)" ]; then
endip="2606:4700:d0::a29f:c001"
xsdns="[2001:4860:4860::8888]"
sbyx="ipv6_only"
else
endip="162.159.192.1"
xsdns="8.8.8.8"
sbyx="ipv4_only"
fi
}
warpcheck
@@ -819,15 +815,15 @@ cat > /etc/s-box/sb11.json <<EOF
]
}
],
"dns": {
"servers": [
{
"type": "https",
"server": "${xsdns}"
}
],
"strategy": "${sbyx}"
},
"outbounds": [
{
"type":"direct",