2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

2678. [func] Treat DS queries as if "minimal-response yes;"

was set. [RT #20258]
This commit is contained in:
Mark Andrews
2009-09-14 23:13:37 +00:00
parent b843f577bb
commit a12c8549d6
2 changed files with 6 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
2678. [func] Treat DS queries as if "minimal-response yes;"
was set. [RT #20258]
2677. [func] Changes to key metadata behavior:
- Keys without "publish" or "active" dates set will
no longer be used for smart signing. However,

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: query.c,v 1.326 2009/08/05 02:09:04 marka Exp $ */
/* $Id: query.c,v 1.327 2009/09/14 23:13:37 marka Exp $ */
/*! \file */
@@ -5130,9 +5130,9 @@ ns_query_start(ns_client_t *client) {
}
/*
* Turn on minimal response for DNSKEY queries.
* Turn on minimal response for DNSKEY and DS queries.
*/
if (qtype == dns_rdatatype_dnskey)
if (qtype == dns_rdatatype_dnskey || qtype == dns_rdatatype_ds)
client->query.attributes |= (NS_QUERYATTR_NOAUTHORITY |
NS_QUERYATTR_NOADDITIONAL);