mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 02:14:40 +01:00
We need to manage the TTL properly, but in the meantime, reduce log verbosity
This commit is contained in:
parent
1e066e69b3
commit
5c18c51116
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue