diff --git a/dnscrypt-proxy/xtransport.go b/dnscrypt-proxy/xtransport.go index b52bf5d4..c4a68c0a 100644 --- a/dnscrypt-proxy/xtransport.go +++ b/dnscrypt-proxy/xtransport.go @@ -9,7 +9,6 @@ import ( "encoding/base64" "encoding/hex" "errors" - "fmt" "io" "math/rand" "net" @@ -463,7 +462,7 @@ func (xTransport *XTransport) resolveAndUpdateCache(host string) error { } } if foundIP == nil { - return fmt.Errorf("no IP address found for [%s]", host) + dlog.Errorf("no IP address found for [%s]", host) } xTransport.saveCachedIP(host, foundIP, ttl) dlog.Debugf("[%s] IP address [%s] added to the cache, valid for %v", host, foundIP, ttl)