From 2eac8d52d556de76f6efe8e83290fb3e41d11433 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 21 Mar 2018 10:17:13 +0100 Subject: [PATCH] Revert the cache clear Implementing this is going to be more complicated --- dnscrypt-proxy/proxy.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/dnscrypt-proxy/proxy.go b/dnscrypt-proxy/proxy.go index 11e68575..2be3e4a6 100644 --- a/dnscrypt-proxy/proxy.go +++ b/dnscrypt-proxy/proxy.go @@ -89,9 +89,6 @@ func (proxy *Proxy) StartProxy() { liveServers, err := proxy.serversInfo.refresh(proxy) if liveServers > 0 { dlog.Noticef("dnscrypt-proxy is ready - live servers: %d", liveServers) - if !proxy.xTransport.ignoreSystemDNS { - proxy.xTransport.clearCache() - } SystemDNotify() } else if err != nil { dlog.Error(err)