Improve default DNS

Proxy may not support UDP relay,
use TCP to make DNS via proxy;
It is also possible to set up a backup DNS.
This commit is contained in:
Akariln 2025-04-19 18:49:16 +08:00 committed by GitHub
parent 23eeb8ff55
commit 8118427f88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,16 @@
},
"servers": [
{
"address": "1.1.1.1",
"address": "tcp://1.1.1.1",
"domains": [
"geosite:geolocation-!cn"
],
"expectIPs": [
"geoip:!cn"
]
},
{
"address": "tcp://8.8.8.8"",
"domains": [
"geosite:geolocation-!cn"
],
@ -23,7 +32,6 @@
"geoip:cn"
]
},
"8.8.8.8",
"https://dns.google/dns-query"
]
}