Signed-off-by: Sentsuki <[email protected]>
@@ -351,14 +351,15 @@ DNS servers are refactored for better performance and scalability.
```json
{
"dns": {
- "servers": [
+ "rules": [
- "type": "predefined",
- "responses": [
- {
- "rcode": "REFUSED"
- }
- ]
+ "domain": [
+ "example.com"
+ ],
+ // other rules
+
+ "action": "predefined",
+ "rcode": "REFUSED"
}
]
@@ -1187,4 +1188,4 @@ which will disrupt the existing `process_path` use cases in Windows.
- ```
+ ```
@@ -351,14 +351,15 @@ DNS 服务器已经重构。
+ // 其它规则