1
0
mirror of https://github.com/nitezs/sub2sing-box.git synced 2024-12-24 12:24:41 -05:00
sub2sing-box/templates/windows/dns.json
2024-10-20 19:05:22 +08:00

63 lines
1.3 KiB
JSON

{
"dns": {
"servers": [
{
"tag": "google",
"address": "https://dns.google/dns-query",
"address_resolver": "local",
"address_strategy": "prefer_ipv4",
"client_subnet": "114.114.114.114/24"
},
{
"tag": "local",
"address": "https://223.5.5.5/dns-query",
"detour": "direct"
},
{
"tag": "refused",
"address": "rcode://refused"
}
],
"rules": [
{
"rule_set": "geosite-category-ads-all",
"server": "refused"
},
{
"outbound": "any",
"server": "local"
},
{
"clash_mode": "Direct",
"server": "local"
},
{
"clash_mode": "Global",
"server": "google"
},
{
"rule_set": "geosite-geolocation-cn",
"server": "local"
},
{
"type": "logical",
"mode": "and",
"rules": [
{
"rule_set": "geosite-geolocation-!cn",
"invert": true
},
{
"rule_set": "geoip-cn"
}
],
"server": "google",
"client_subnet": "114.114.114.114/24"
}
],
"final": "google",
"disable_cache": false,
"disable_expire": false
}
}