]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
For some zones, querying for a non-DS record, then a DS record would
authorMark Andrews <marka@isc.org>
Tue, 23 Jul 2002 03:40:19 +0000 (03:40 +0000)
committerMark Andrews <marka@isc.org>
Tue, 23 Jul 2002 03:40:19 +0000 (03:40 +0000)
time out and SERVFAIL.

bin/named/query.c

index bdc538113d6df3ee447a50f23f67b4d2a4d70c1e..4ce43b1465c267b9990c7fef1295e029fca07b99 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: query.c,v 1.226 2002/07/23 03:33:12 marka Exp $ */
+/* $Id: query.c,v 1.227 2002/07/23 03:40:19 marka Exp $ */
 
 #include <config.h>
 
@@ -2824,8 +2824,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
                                /*
                                 * Recurse!
                                 */
-                               /* XXXBEW look at this? */
-                               if (type == dns_rdatatype_key)
+                               if (dns_rdatatype_atparent(type))
                                        result = query_recurse(client, qtype,
                                                               NULL, NULL);
                                else