From 2481fbebd70a8c878a0c3324f66227cd66eb0ab3 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 11 Aug 2023 01:39:15 +0200 Subject: [PATCH] Revert b898e07066dc02f6a7cdf7b45f582c6263beb20c --- dnscrypt-proxy/xtransport.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)