]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/dnsmasq/0033-Don-t-treat-SERVFAIL-as-a-recoverable-error.patch
dnsmasq: Import more upstream fixes
[ipfire-2.x.git] / src / patches / dnsmasq / 0033-Don-t-treat-SERVFAIL-as-a-recoverable-error.patch
1 From 2ae195f5a71f7c5a75717845de1bd72fc7dd67f3 Mon Sep 17 00:00:00 2001
2 From: Simon Kelley <simon@thekelleys.org.uk>
3 Date: Sun, 18 Jan 2015 22:20:48 +0000
4 Subject: [PATCH 33/87] Don't treat SERVFAIL as a recoverable error.....
5
6 ---
7 src/forward.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/src/forward.c b/src/forward.c
11 index 713a64c0fa58..b17bc34f865f 100644
12 --- a/src/forward.c
13 +++ b/src/forward.c
14 @@ -737,7 +737,7 @@ void reply_query(int fd, int family, time_t now)
15 check_for_ignored_address(header, n, daemon->ignore_addr))
16 return;
17
18 - if ((RCODE(header) == SERVFAIL || RCODE(header) == REFUSED) &&
19 + if (RCODE(header) == REFUSED &&
20 !option_bool(OPT_ORDER) &&
21 forward->forwardall == 0)
22 /* for broken servers, attempt to send to another one. */
23 --
24 2.1.0
25