From 255423588c9de138f7725f00a42ad75cd1b4e270 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 11 May 2018 03:31:25 +0200 Subject: [PATCH] REFUSED responses are fine for filtering resolvers --- 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 1735ba31..3b19b01b 100644 --- a/dnscrypt-proxy/proxy.go +++ b/dnscrypt-proxy/proxy.go @@ -320,7 +320,7 @@ func (proxy *Proxy) processIncomingQuery(serverInfo *ServerInfo, clientProto str serverInfo.noticeFailure(proxy) return } - if rcode := Rcode(response); rcode == 2 || rcode == 5 { // SERVFAIL / REFUSED + if rcode := Rcode(response); rcode == 2 { // SERVFAIL dlog.Infof("Server [%v] returned temporary error code [%v] -- Upstream server may be experiencing connectivity issues", serverInfo.Name, rcode) serverInfo.noticeFailure(proxy) } else {