Skip to content

Commit

Permalink
SERVFAIL should be forgivable
Browse files Browse the repository at this point in the history
Let the poller retry after a SERVFAIL
  • Loading branch information
mholt committed Sep 8, 2022
1 parent 3f145a9 commit 9826a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func checkAuthoritativeNss(fqdn, value string, nameservers []string) (bool, erro
}

if r.Rcode != dns.RcodeSuccess {
if r.Rcode == dns.RcodeNameError {
if r.Rcode == dns.RcodeNameError || r.Rcode == dns.RcodeServerFailure {
// if Present() succeeded, then it must show up eventually, or else
// something is really broken in the DNS provider or their API;
// no need for error here, simply have the caller try again
Expand Down

0 comments on commit 9826a4c

Please sign in to comment.