1
0
mirror of https://github.com/nitezs/sub2sing-box.git synced 2024-12-25 02:04:42 -05:00
sub2sing-box/templates/windows/dns.json

61 lines
1.2 KiB
JSON
Raw Normal View History

2024-10-19 13:02:01 -04:00
{
"dns": {
"servers": [
{
"tag": "google",
2024-10-22 08:29:45 -04:00
"address": "https://8.8.8.8/dns-query",
"detour": "default"
2024-10-19 13:02:01 -04:00
},
{
"tag": "local",
2024-10-22 08:29:45 -04:00
"address": "h3://223.5.5.5/dns-query",
2024-10-19 13:02:01 -04:00
"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"
}
],
2024-10-20 07:05:22 -04:00
"final": "google",
2024-10-19 13:02:01 -04:00
"disable_cache": false,
"disable_expire": false
}
}