Move predefined DNS server to rule action

This commit is contained in:
世界
2025-03-13 20:58:19 +08:00
parent ce0036ae56
commit 8fa4dfce91
15 changed files with 289 additions and 282 deletions
+27 -1
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"
}
]
}
}
```