REFUSED responses are fine for filtering resolvers
This commit is contained in:
parent
7774d9cf05
commit
255423588c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue