mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-02 13:18:50 +00:00
format dns config
This commit is contained in:
parent
42f7c7cb43
commit
c97fa3a767
2 changed files with 43 additions and 34 deletions
|
@ -17,11 +17,16 @@
|
|||
],
|
||||
"rules": [
|
||||
{
|
||||
"geosite": [ "cn" ],
|
||||
"geosite": [
|
||||
"cn"
|
||||
],
|
||||
"server": "local"
|
||||
},
|
||||
{
|
||||
"geosite": [ "category-ads-all" ],
|
||||
"geosite": [
|
||||
"category-ads-all"
|
||||
],
|
||||
"server": "block"
|
||||
}
|
||||
]}
|
||||
]
|
||||
}
|
|
@ -1,31 +1,35 @@
|
|||
{
|
||||
"servers": [
|
||||
{
|
||||
"tag": "remote",
|
||||
"address": "tcp://8.8.8.8",
|
||||
"detour": "proxy"
|
||||
},
|
||||
{
|
||||
"tag": "local",
|
||||
"address": "223.5.5.5",
|
||||
"detour": "direct"
|
||||
},
|
||||
{
|
||||
"tag": "block",
|
||||
"address": "rcode://success"
|
||||
}
|
||||
],
|
||||
"rules": [
|
||||
{
|
||||
"geosite": [ "cn" ],
|
||||
"server": "local",
|
||||
"disable_cache": true
|
||||
},
|
||||
{
|
||||
"geosite": [ "category-ads-all" ],
|
||||
"server": "block",
|
||||
"disable_cache": true
|
||||
}
|
||||
],
|
||||
"strategy": "ipv4_only"
|
||||
}
|
||||
{
|
||||
"servers": [
|
||||
{
|
||||
"tag": "remote",
|
||||
"address": "tcp://8.8.8.8",
|
||||
"detour": "proxy"
|
||||
},
|
||||
{
|
||||
"tag": "local",
|
||||
"address": "223.5.5.5",
|
||||
"detour": "direct"
|
||||
},
|
||||
{
|
||||
"tag": "block",
|
||||
"address": "rcode://success"
|
||||
}
|
||||
],
|
||||
"rules": [
|
||||
{
|
||||
"geosite": [
|
||||
"cn"
|
||||
],
|
||||
"server": "local",
|
||||
"disable_cache": true
|
||||
},
|
||||
{
|
||||
"geosite": [
|
||||
"category-ads-all"
|
||||
],
|
||||
"server": "block",
|
||||
"disable_cache": true
|
||||
}
|
||||
],
|
||||
"strategy": "ipv4_only"
|
||||
}
|
Loading…
Reference in a new issue