2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-01 23:25:38 +00:00

Don't mark a server as not supporting a EDNS on SERVFAIL. There are too

many other potential causes.
This commit is contained in:
Mark Andrews
2002-02-19 06:16:36 +00:00
parent 986be654fe
commit 3023a2fb9d

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: resolver.c,v 1.238 2002/02/19 00:48:21 marka Exp $ */ /* $Id: resolver.c,v 1.239 2002/02/19 06:16:36 marka Exp $ */
#include <config.h> #include <config.h>
@@ -4313,9 +4313,10 @@ resquery_response(isc_task_t *task, isc_event_t *event) {
/* /*
* Remember that they don't like EDNS0. * Remember that they don't like EDNS0.
*/ */
dns_adb_changeflags(fctx->adb, query->addrinfo, if (message->rcode != dns_rcode_servfail)
DNS_FETCHOPT_NOEDNS0, dns_adb_changeflags(fctx->adb, query->addrinfo,
DNS_FETCHOPT_NOEDNS0); DNS_FETCHOPT_NOEDNS0,
DNS_FETCHOPT_NOEDNS0);
} else if (message->rcode == dns_rcode_formerr) { } else if (message->rcode == dns_rcode_formerr) {
if (ISFORWARDER(query->addrinfo)) { if (ISFORWARDER(query->addrinfo)) {
/* /*