From 26ed6eaf698f5bf31508fcbec655cabf02909efe Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Thu, 23 Mar 2023 12:58:59 +0800 Subject: [PATCH] chore: `proxy-server-nameserver` does not follow the `nameserver-policy` --- dns/resolver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns/resolver.go b/dns/resolver.go index 57f581a5..c16aad40 100644 --- a/dns/resolver.go +++ b/dns/resolver.go @@ -516,7 +516,7 @@ func NewProxyServerHostResolver(old *Resolver) *Resolver { main: old.proxyServer, lruCache: old.lruCache, hosts: old.hosts, - policy: old.policy, + policy: trie.New[*Policy](), ipv6Timeout: old.ipv6Timeout, } return r