diff --git a/route/rule_dns.go b/route/rule_dns.go index 85ded961..7501349f 100644 --- a/route/rule_dns.go +++ b/route/rule_dns.go @@ -284,6 +284,7 @@ func NewLogicalDNSRule(router adapter.Router, logger log.ContextLogger, options }, disableCache: options.DisableCache, rewriteTTL: options.RewriteTTL, + clientSubnet: (*netip.Addr)(options.ClientSubnet), } switch options.Mode { case C.LogicalTypeAnd: