Move predefined DNS server to rule action

This commit is contained in:
世界
2025-04-25 11:56:06 +08:00
parent dbbab063fe
commit fa7d03542d
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"
}
]
}
}
```