Commit 1e020913 authored by Mark Andrews's avatar Mark Andrews
Browse files

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

                        was set. [RT #18528]
parent 5e3f390f
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]
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment