summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2015-01-18 22:20:48 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2015-01-18 22:20:48 +0000
commit2ae195f5a71f7c5a75717845de1bd72fc7dd67f3 (patch)
treeb7b5364738a4dc978d19533d5cee68faf8a68b59
parent393415597c8b5b09558b789ab9ac238dbe3db65d (diff)
downloaddnsmasq-2ae195f5a71f7c5a75717845de1bd72fc7dd67f3.tar.gz
Don't treat SERVFAIL as a recoverable error.....
-rw-r--r--src/forward.c2
1 files changed, 1 insertions, 1 deletions
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. */