Don't treat SERVFAIL as a recoverable error.....

This commit is contained in:
Simon Kelley
2015-01-18 22:20:48 +00:00
parent 393415597c
commit 2ae195f5a7

View File

@@ -737,7 +737,7 @@ void reply_query(int fd, int family, time_t now)
check_for_ignored_address(header, n, daemon->ignore_addr)) check_for_ignored_address(header, n, daemon->ignore_addr))
return; return;
if ((RCODE(header) == SERVFAIL || RCODE(header) == REFUSED) && if (RCODE(header) == REFUSED &&
!option_bool(OPT_ORDER) && !option_bool(OPT_ORDER) &&
forward->forwardall == 0) forward->forwardall == 0)
/* for broken servers, attempt to send to another one. */ /* for broken servers, attempt to send to another one. */