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