We need to manage the TTL properly, but in the meantime, reduce log verbosity

This commit is contained in:
Frank Denis 2018-02-04 02:12:45 +01:00
parent 1e066e69b3
commit 5c18c51116

View File

@ -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