From 18ba5fe528b1699ce79f96708ad84d254b6c9f0e Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 18 Oct 2019 20:51:11 +0200 Subject: [PATCH] Add a SERVFAIL comment because miekg/dns names are a bit unusual --- dnscrypt-proxy/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscrypt-proxy/proxy.go b/dnscrypt-proxy/proxy.go index 292ef926..cd25f59f 100644 --- a/dnscrypt-proxy/proxy.go +++ b/dnscrypt-proxy/proxy.go @@ -460,7 +460,7 @@ func (proxy *Proxy) processIncomingQuery(serverInfo *ServerInfo, clientProto str serverInfo.noticeFailure(proxy) return } - if rcode := Rcode(response); rcode == dns.RcodeServerFailure { + if rcode := Rcode(response); rcode == dns.RcodeServerFailure { // SERVFAIL dlog.Infof("Server [%v] returned temporary error code [%v] -- Upstream server may be experiencing connectivity issues", serverInfo.Name, rcode) serverInfo.noticeFailure(proxy) } else {