Adjust sing-box dns default example

pull/4991/head
2dust 2024-04-05 11:05:45 +08:00
parent dff12a8a3a
commit 06a32dc895
2 changed files with 10 additions and 9 deletions

View File

@ -3,11 +3,13 @@
{
"tag": "remote",
"address": "tcp://8.8.8.8",
"strategy": "ipv4_only",
"detour": "proxy"
},
{
"tag": "local",
"address": "223.5.5.5",
"strategy": "ipv4_only",
"detour": "direct"
},
{
@ -18,9 +20,9 @@
"rules": [
{
"geosite": [
"cn"
"geolocation-!cn"
],
"server": "local"
"server": "remote"
},
{
"geosite": [

View File

@ -3,11 +3,13 @@
{
"tag": "remote",
"address": "tcp://8.8.8.8",
"strategy": "ipv4_only",
"detour": "proxy"
},
{
"tag": "local",
"address": "223.5.5.5",
"strategy": "ipv4_only",
"detour": "direct"
},
{
@ -18,18 +20,15 @@
"rules": [
{
"geosite": [
"cn"
"geolocation-!cn"
],
"server": "local",
"disable_cache": true
"server": "remote"
},
{
"geosite": [
"category-ads-all"
],
"server": "block",
"disable_cache": true
"server": "block"
}
],
"strategy": "ipv4_only"
]
}