]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/dnsmasq/0033-Don-t-treat-SERVFAIL-as-a-recoverable-error.patch
Merge remote-tracking branch 'stevee/core-90-geoip' into next
[ipfire-2.x.git] / src / patches / dnsmasq / 0033-Don-t-treat-SERVFAIL-as-a-recoverable-error.patch
CommitLineData
6644c1c7
MT
1From 2ae195f5a71f7c5a75717845de1bd72fc7dd67f3 Mon Sep 17 00:00:00 2001
2From: Simon Kelley <simon@thekelleys.org.uk>
3Date: Sun, 18 Jan 2015 22:20:48 +0000
d54a2ce4 4Subject: [PATCH 33/78] Don't treat SERVFAIL as a recoverable error.....
6644c1c7
MT
5
6---
7 src/forward.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/src/forward.c b/src/forward.c
11index 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--
242.1.0
25