We need to manage the TTL properly, but in the meantime, reduce log verbosity
This commit is contained in:
parent
1e066e69b3
commit
5c18c51116
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue