mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 18:22:05 -04:00
2110. [bug] "minimal-response yes;" interacted badly with BIND 8
priming queries. [RT #16491]
This commit is contained in:
parent
f041bef2c6
commit
1a8efeab76
2 changed files with 11 additions and 1 deletions
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue