From 2ae195f5a71f7c5a75717845de1bd72fc7dd67f3 Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Sun, 18 Jan 2015 22:20:48 +0000 Subject: Don't treat SERVFAIL as a recoverable error..... --- src/forward.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forward.c b/src/forward.c index 713a64c..b17bc34 100644 --- a/src/forward.c +++ b/src/forward.c @@ -737,7 +737,7 @@ void reply_query(int fd, int family, time_t now) check_for_ignored_address(header, n, daemon->ignore_addr)) return; - if ((RCODE(header) == SERVFAIL || RCODE(header) == REFUSED) && + if (RCODE(header) == REFUSED && !option_bool(OPT_ORDER) && forward->forwardall == 0) /* for broken servers, attempt to send to another one. */ -- cgit v1.2.1