mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-19 01:38:40 +00:00
DNS: Add new nonIPQuery "reject"
This commit is contained in:
parent
fbae89d017
commit
f036c270d4
2 changed files with 41 additions and 1 deletions
|
@ -30,7 +30,7 @@ func (c *DNSOutboundConfig) Build() (proto.Message, error) {
|
|||
switch c.NonIPQuery {
|
||||
case "":
|
||||
c.NonIPQuery = "drop"
|
||||
case "drop", "skip":
|
||||
case "drop", "skip", "reject":
|
||||
default:
|
||||
return nil, errors.New(`unknown "nonIPQuery": `, c.NonIPQuery)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue