2427. [func] Treat DNSKEY queries as if "minimal-response yes;"

was set. [RT #18528]
This commit is contained in:
Mark Andrews 2008-08-26 06:09:18 +00:00
parent 5e3f390f05
commit 1e02091371
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,6 @@
2427. [func] Treat DNSKEY queries as if "minimal-response yes;"
was set. [RT #18528]
2426. [bug] libbind: inet_net_pton() can sometimes return the
wrong value if excessively large netmasks are
supplied. [RT #18512]

View file

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: query.c,v 1.307 2008/04/29 00:54:28 marka Exp $ */
/* $Id: query.c,v 1.308 2008/08/26 06:09:18 marka Exp $ */
/*! \file */
@ -4609,6 +4609,13 @@ ns_query_start(ns_client_t *client) {
}
}
/*
* Turn on minimal response for DNSKEY queries.
*/
if (qtype == dns_rdatatype_dnskey)
client->query.attributes |= (NS_QUERYATTR_NOAUTHORITY |
NS_QUERYATTR_NOADDITIONAL);
/*
* If the client has requested that DNSSEC checking be disabled,
* allow lookups to return pending data and instruct the resolver