mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 12:27:36 +03:00
documentation: Fix typo
This commit is contained in:
parent
c7cc28d61f
commit
87f122b2ab
2 changed files with 12 additions and 4 deletions
|
@ -567,7 +567,7 @@ The legacy outbound DNS rules are deprecated and can be replaced by new domain r
|
||||||
"server_port": 2080,
|
"server_port": 2080,
|
||||||
"domain_resolver": {
|
"domain_resolver": {
|
||||||
"server": "local",
|
"server": "local",
|
||||||
"rewrite_tll": 60,
|
"rewrite_ttl": 60,
|
||||||
"client_subnet": "1.1.1.1"
|
"client_subnet": "1.1.1.1"
|
||||||
},
|
},
|
||||||
// or "domain_resolver": "local",
|
// or "domain_resolver": "local",
|
||||||
|
@ -579,7 +579,7 @@ The legacy outbound DNS rules are deprecated and can be replaced by new domain r
|
||||||
"route": {
|
"route": {
|
||||||
"default_domain_resolver": {
|
"default_domain_resolver": {
|
||||||
"server": "local",
|
"server": "local",
|
||||||
"rewrite_tll": 60,
|
"rewrite_ttl": 60,
|
||||||
"client_subnet": "1.1.1.1"
|
"client_subnet": "1.1.1.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -565,13 +565,21 @@ DNS 服务器已经重构。
|
||||||
"type": "socks",
|
"type": "socks",
|
||||||
"server": "example.org",
|
"server": "example.org",
|
||||||
"server_port": 2080,
|
"server_port": 2080,
|
||||||
"domain_resolver": "local",
|
"domain_resolver": {
|
||||||
|
"server": "local",
|
||||||
|
"rewrite_ttl": 60,
|
||||||
|
"client_subnet": "1.1.1.1"
|
||||||
|
},
|
||||||
|
// 或 "domain_resolver": "local",
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
// 或
|
||||||
|
|
||||||
"route": {
|
"route": {
|
||||||
"default_domain_resolver": {
|
"default_domain_resolver": {
|
||||||
"server": "local",
|
"server": "local",
|
||||||
"rewrite_tll": 60,
|
"rewrite_ttl": 60,
|
||||||
"client_subnet": "1.1.1.1"
|
"client_subnet": "1.1.1.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue