Move predefined DNS server to rule action

This commit is contained in:
世界
2025-02-26 08:59:21 +08:00
parent d52322112e
commit 1069b7d712
15 changed files with 289 additions and 282 deletions

View File

@@ -67,4 +67,30 @@ Example:
]
}
}
```
```
### Examples
=== "Use hosts if available"
```json
{
"dns": {
"servers": [
{
...
},
{
"type": "hosts",
"tag": "hosts"
}
],
"rules": [
{
"ip_accept_any": true,
"server": "hosts"
}
]
}
}
```