1
0
mirror of https://github.com/DNSCrypt/dnscrypt-proxy.git synced 2024-12-29 00:30:30 +01:00

Add a SERVFAIL comment because miekg/dns names are a bit unusual

This commit is contained in:
Frank Denis 2019-10-18 20:51:11 +02:00
parent 94cf37dacf
commit 18ba5fe528

View File

@ -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 {