mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-08-11 21:07:35 +08:00
documentation: Fix Rcode's migration guide
Signed-off-by: Sentsuki <52487960+Sentsuki@users.noreply.github.com>
This commit is contained in:
parent
76ee64ae50
commit
0e23a3d7c2
@ -351,14 +351,15 @@ DNS servers are refactored for better performance and scalability.
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": [
|
"rules": [
|
||||||
{
|
{
|
||||||
"type": "predefined",
|
"domain": [
|
||||||
"responses": [
|
"example.com"
|
||||||
{
|
],
|
||||||
"rcode": "REFUSED"
|
// other rules
|
||||||
}
|
|
||||||
]
|
"action": "predefined",
|
||||||
|
"rcode": "REFUSED"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -351,14 +351,15 @@ DNS 服务器已经重构。
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": [
|
"rules": [
|
||||||
{
|
{
|
||||||
"type": "predefined",
|
"domain": [
|
||||||
"responses": [
|
"example.com"
|
||||||
{
|
],
|
||||||
"rcode": "REFUSED"
|
// 其它规则
|
||||||
}
|
|
||||||
]
|
"action": "predefined",
|
||||||
|
"rcode": "REFUSED"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user