From ffe94353f5dec7b98741815ca3a5ed31fcdca7e6 Mon Sep 17 00:00:00 2001 From: peymanhaji2 Date: Sun, 16 Mar 2025 01:22:13 +0330 Subject: [PATCH] add "ignoreExpectIPsWhenNoMatch" option --- app/dns/nameserver.go | 1 + 1 file changed, 1 insertion(+) 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