mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
2110. [bug] "minimal-response yes;" interacted badly with BIND 8
priming queries. [RT #16491]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
||||
2110. [bug] "minimal-response yes;" interacted badly with BIND 8
|
||||
priming queries. [RT #16491]
|
||||
|
||||
2109. [port] libbind: silence aix 5.3 compiler warnings. [RT #16502]
|
||||
|
||||
2108. [func] DHCID support. [RT #16456]
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: query.c,v 1.289 2006/08/31 03:56:36 marka Exp $ */
|
||||
/* $Id: query.c,v 1.290 2006/12/07 04:38:56 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -4244,6 +4244,13 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
|
||||
noqname = rdataset;
|
||||
else
|
||||
noqname = NULL;
|
||||
/*
|
||||
* BIND 8 priming queries need the additional section.
|
||||
*/
|
||||
if (is_zone && qtype == dns_rdatatype_ns &&
|
||||
dns_name_equal(client->query.qname, dns_rootname))
|
||||
client->query.attributes &= ~NS_QUERYATTR_NOADDITIONAL;
|
||||
|
||||
query_addrrset(client, &fname, &rdataset, sigrdatasetp, dbuf,
|
||||
DNS_SECTION_ANSWER);
|
||||
if (noqname != NULL)
|
||||
|
Reference in New Issue
Block a user