documentation: Fix Rcode's migration guide

Signed-off-by: Sentsuki <52487960+Sentsuki@users.noreply.github.com>
This commit is contained in:
Sentsuki 2025-08-10 19:49:04 +08:00 committed by GitHub
parent 43fef1dae6
commit c2c44a076f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 15 deletions

View File

@ -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"
} }
] ]
} }

View File

@ -351,14 +351,15 @@ DNS 服务器已经重构。
```json ```json
{ {
"dns": { "dns": {
"servers": [ "rules": [
{ {
"type": "predefined", "domain": [
"responses": [ "example.com"
{ ],
"rcode": "REFUSED" // 其它规则
}
] "action": "predefined",
"rcode": "REFUSED"
} }
] ]
} }