mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-27 09:27:58 +03:00
Add "nonIPQuery" to DNS outbound
This commit is contained in:
@@ -12,7 +12,8 @@ When handling DNS queries, this outbound protocol will forward IP queries (A and
|
||||
{
|
||||
"network": "tcp",
|
||||
"address": "1.1.1.1",
|
||||
"port": 53
|
||||
"port": 53,
|
||||
"nonIPQuery": "drop"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -28,4 +29,8 @@ Modifies the DNS server address. When not specified, the original address specif
|
||||
|
||||
Modifies the DNS server port. When not specified, the original port specified in the source will be retained.
|
||||
|
||||
> `nonIPQuery`: string
|
||||
|
||||
Control non IP queries (neither A or AAAA), `"drop"` this request or `"skip"` processing in DNS module,the request will be forwarded to target. By default is `"drop"`.
|
||||
|
||||
## DNS Configuration Example <Badge text="WIP" type="warning"/>
|
||||
|
||||
Reference in New Issue
Block a user