chore: proxy-server-nameserver does not follow the nameserver-policy

This commit is contained in:
Skyxim 2023-03-23 12:58:59 +08:00
parent e026ac6a2a
commit 5737fbc23c

View file

@ -516,7 +516,7 @@ func NewProxyServerHostResolver(old *Resolver) *Resolver {
main: old.proxyServer, main: old.proxyServer,
lruCache: old.lruCache, lruCache: old.lruCache,
hosts: old.hosts, hosts: old.hosts,
policy: old.policy, policy: trie.New[*Policy](),
ipv6Timeout: old.ipv6Timeout, ipv6Timeout: old.ipv6Timeout,
} }
return r return r