0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-18 14:19:48 +03:00

DNS: Add new nonIPQuery "reject"

This commit is contained in:
风扇滑翔翼
2025-06-17 16:02:18 +00:00
committed by GitHub
parent fbae89d017
commit f036c270d4
2 changed files with 41 additions and 1 deletions

View File

@ -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)
}