diff --git a/app/dns/nameserver.go b/app/dns/nameserver.go index fe0cd308..59af92e6 100644 --- a/app/dns/nameserver.go +++ b/app/dns/nameserver.go @@ -167,6 +167,7 @@ func NewClient( client.skipFallback = ns.SkipFallback client.domains = rules client.expectIPs = matchers + client.ignoreExpectIPsWhenNoMatch = ns.IgnoreExpectIPsWhenNoMatch return nil }) return client, err