Try dnscrypt-proxy to resolve configured hosts when ignore_system_dns (#2204)

This commit is contained in:
lifenjoiner 2023-04-06 03:17:51 +08:00 committed by GitHub
parent ca0f353087
commit b3318a94b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 12 deletions

View file

@ -232,6 +232,7 @@ func (serversInfo *ServersInfo) refresh(proxy *Proxy) (int, error) {
for _, registeredServer := range registeredServers {
if err = serversInfo.refreshServer(proxy, registeredServer.name, registeredServer.stamp); err == nil {
liveServers++
proxy.xTransport.internalResolverReady = true
}
}
serversInfo.Lock()