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:
parent
94cf37dacf
commit
18ba5fe528
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user