From 5c18c51116b65370befe1950bc068d3a0826ff9c Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 4 Feb 2018 02:12:45 +0100 Subject: [PATCH] We need to manage the TTL properly, but in the meantime, reduce log verbosity --- dnscrypt-proxy/plugin_cloak.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscrypt-proxy/plugin_cloak.go b/dnscrypt-proxy/plugin_cloak.go index 3b429703..31721e7e 100644 --- a/dnscrypt-proxy/plugin_cloak.go +++ b/dnscrypt-proxy/plugin_cloak.go @@ -111,7 +111,7 @@ func (plugin *PluginCloak) Eval(pluginsState *PluginsState, msg *dns.Msg) error } else { ip = cloakedName.ipv6 } - if !cloakedName.isIP { + if ip == nil && !cloakedName.isIP { foundIPs, err := net.LookupIP(cloakedName.target) if err != nil { return nil