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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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)
}