Add "nonIPQuery" to DNS outbound
parent
96f30c7fdc
commit
da5a3fb218
|
@ -12,7 +12,8 @@ DNS 是一个出站协议,主要用于拦截和转发 DNS 查询。
|
||||||
{
|
{
|
||||||
"network": "tcp",
|
"network": "tcp",
|
||||||
"address": "1.1.1.1",
|
"address": "1.1.1.1",
|
||||||
"port": 53
|
"port": 53,
|
||||||
|
"nonIPQuery": "drop"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -28,4 +29,8 @@ DNS 是一个出站协议,主要用于拦截和转发 DNS 查询。
|
||||||
|
|
||||||
修改 DNS 服务器端口。当不指定时,保持来源中指定的端口不变。
|
修改 DNS 服务器端口。当不指定时,保持来源中指定的端口不变。
|
||||||
|
|
||||||
|
> `nonIPQuery`: string
|
||||||
|
|
||||||
|
控制非 IP 查询(非 A 和 AAAA),`"drop"` 丢弃或者 `"skip"` 不由内置 DNS 服务器处理,将转发给目标。默认为 `"drop"`。
|
||||||
|
|
||||||
## DNS 配置实例 <Badge text="WIP" type="warning"/>
|
## DNS 配置实例 <Badge text="WIP" type="warning"/>
|
||||||
|
|
|
@ -12,7 +12,8 @@ When handling DNS queries, this outbound protocol will forward IP queries (A and
|
||||||
{
|
{
|
||||||
"network": "tcp",
|
"network": "tcp",
|
||||||
"address": "1.1.1.1",
|
"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.
|
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"/>
|
## DNS Configuration Example <Badge text="WIP" type="warning"/>
|
||||||
|
|
Loading…
Reference in New Issue