Move predefined DNS server to rule action

This commit is contained in:
世界
2025-02-26 08:59:21 +08:00
parent ce0036ae56
commit 8fa4dfce91
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"
}
]
}
}
```