]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2678. [func] Treat DS queries as if "minimal-response yes;"
authorMark Andrews <marka@isc.org>
Mon, 14 Sep 2009 23:13:37 +0000 (23:13 +0000)
committerMark Andrews <marka@isc.org>
Mon, 14 Sep 2009 23:13:37 +0000 (23:13 +0000)
                        was set. [RT #20258]

CHANGES
bin/named/query.c

diff --git a/CHANGES b/CHANGES
index 40073781ae1c93ee6fab49f34c52b3d654648e66..f10bdedfab4be4591c0319a08153e8f9be07a03e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -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,
index b31335258d0f957803dbdd8e0b3295dbb5729f9a..12a53e5c49bec2f1ee52847b507cab250afee2bf 100644 (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);