implement match_only

This commit is contained in:
n3t1zen
2026-05-03 21:14:25 +08:00
parent 2f63914882
commit 4af8a7d7a6
6 changed files with 13 additions and 8 deletions

View File

@@ -312,6 +312,7 @@ type RouteActionResolve struct {
DisableCache bool `json:"disable_cache,omitempty"`
RewriteTTL *uint32 `json:"rewrite_ttl,omitempty"`
ClientSubnet *badoption.Prefixable `json:"client_subnet,omitempty"`
MatchOnly bool `json:"match_only,omitempty"`
}
type DNSRouteActionPredefined struct {