mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-09-09 13:04:06 +08:00
Merge b9d044d6865b73abe0232875ed0b212d90c5306d into 12e8d43925369298d60643cffcef0ab3da703b13
This commit is contained in:
commit
d15c12047b
@ -1,11 +1,19 @@
|
||||
{
|
||||
"log": {
|
||||
"level": "info"
|
||||
"level": "info",
|
||||
"timestamp": true
|
||||
},
|
||||
"dns": {
|
||||
"servers": [
|
||||
{
|
||||
"address": "tls://8.8.8.8"
|
||||
"type": "tls",
|
||||
"tag": "google",
|
||||
"server": "8.8.8.8"
|
||||
},
|
||||
{
|
||||
"type": "udp",
|
||||
"tag": "local",
|
||||
"server": "223.5.5.5"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -25,19 +33,24 @@
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"type": "direct"
|
||||
},
|
||||
{
|
||||
"type": "dns",
|
||||
"tag": "dns-out"
|
||||
"type": "direct",
|
||||
"tag": "direct"
|
||||
}
|
||||
],
|
||||
"route": {
|
||||
"rules": [
|
||||
{
|
||||
"port": 53,
|
||||
"outbound": "dns-out"
|
||||
"action": "sniff"
|
||||
},
|
||||
{
|
||||
"protocol": "dns",
|
||||
"action": "hijack-dns"
|
||||
},
|
||||
{
|
||||
"ip_is_private": true,
|
||||
"outbound": "direct"
|
||||
}
|
||||
]
|
||||
],
|
||||
"default_domain_resolver": "local"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user