DNS: Add new nonIPQuery "reject" (#4824)

This commit is contained in:
风扇滑翔翼
2025-06-23 10:48:24 +08:00
committed by GitHub
parent b043db8260
commit 38ed2cc387
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)
}