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 世界
parent 76ee64ae50
commit 0e23a3d7c2
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
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
{
"dns": {
"servers": [
"rules": [
{
"type": "predefined",
"responses": [
{
"rcode": "REFUSED"
}
]
"domain": [
"example.com"
],
// other rules
"action": "predefined",
"rcode": "REFUSED"
}
]
}
@ -1187,4 +1188,4 @@ which will disrupt the existing `process_path` use cases in Windows.
}
}
}
```
```

View File

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