mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
remove incorrect CNAME/DNAME dead-end code from NXDOMAIN handling
This commit is contained in:
4
CHANGES
4
CHANGES
@@ -1,3 +1,7 @@
|
||||
768. [bug] The server did not emit an SOA when a CNAME
|
||||
or DNAME chain ended in NXDOMAIN in an
|
||||
authoritative zone.
|
||||
|
||||
767. [placeholder]
|
||||
|
||||
766. [bug] A few cases in query_find() could leak fname.
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: query.c,v 1.184 2001/03/05 21:38:20 halley Exp $ */
|
||||
/* $Id: query.c,v 1.185 2001/03/06 06:57:47 halley Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -2762,12 +2762,6 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
|
||||
case DNS_R_NXDOMAIN:
|
||||
INSIST(is_zone);
|
||||
count_query(zone, is_zone, dns_statscounter_nxdomain);
|
||||
if (client->query.restarts > 0) {
|
||||
/*
|
||||
* We hit a dead end following a CNAME or DNAME.
|
||||
*/
|
||||
goto cleanup;
|
||||
}
|
||||
if (dns_rdataset_isassociated(rdataset)) {
|
||||
/*
|
||||
* If we've got a NXT record, we need to save the
|
||||
|
Reference in New Issue
Block a user