Remove DNS settings for IPv4 and IPv6
Removed DNS configuration for IPv4 and IPv6.
This commit is contained in:
@@ -155,12 +155,8 @@ ipv=prefer_ipv4
|
|||||||
fi
|
fi
|
||||||
if [ -n "$(curl -s6m5 icanhazip.com -k)" ]; then
|
if [ -n "$(curl -s6m5 icanhazip.com -k)" ]; then
|
||||||
endip="2606:4700:d0::a29f:c001"
|
endip="2606:4700:d0::a29f:c001"
|
||||||
xsdns="[2001:4860:4860::8888]"
|
|
||||||
sbyx="ipv6_only"
|
|
||||||
else
|
else
|
||||||
endip="162.159.192.1"
|
endip="162.159.192.1"
|
||||||
xsdns="8.8.8.8"
|
|
||||||
sbyx="ipv4_only"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
warpcheck
|
warpcheck
|
||||||
@@ -819,15 +815,15 @@ cat > /etc/s-box/sb11.json <<EOF
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dns": {
|
|
||||||
"servers": [
|
|
||||||
{
|
|
||||||
"type": "https",
|
|
||||||
"server": "${xsdns}"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"strategy": "${sbyx}"
|
|
||||||
},
|
|
||||||
"outbounds": [
|
"outbounds": [
|
||||||
{
|
{
|
||||||
"type":"direct",
|
"type":"direct",
|
||||||
|
|||||||
Reference in New Issue
Block a user