This commit is contained in:
Frank Denis 2018-04-12 11:07:34 +02:00
parent e2dd9c97a2
commit 64d22dfc2b
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ func (proxy *Proxy) processIncomingQuery(serverInfo *ServerInfo, clientProto str
return return
} }
if rcode := Rcode(response); rcode == 2 || rcode == 5 { // SERVFAIL / REFUSED if rcode := Rcode(response); rcode == 2 || rcode == 5 { // SERVFAIL / REFUSED
dlog.Infof("Server [%v] returned error code [%v] -- It might be experiencing upstream connectivity issues", serverInfo.Name, rcode) dlog.Infof("Server [%v] returned temporary error code [%v] -- Upstream server may be experiencing connectivity issues", serverInfo.Name, rcode)
serverInfo.noticeFailure(proxy) serverInfo.noticeFailure(proxy)
} else { } else {
serverInfo.noticeSuccess(proxy) serverInfo.noticeSuccess(proxy)