From: Mark Andrews Date: Tue, 23 Jul 2002 03:40:19 +0000 (+0000) Subject: For some zones, querying for a non-DS record, then a DS record would X-Git-Tag: v9.2.3rc1~104^2~462 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=34c1d0e1b64a75ffb4b17c2e5d8654f77d47ea06;p=thirdparty%2Fbind9.git For some zones, querying for a non-DS record, then a DS record would time out and SERVFAIL. --- diff --git a/bin/named/query.c b/bin/named/query.c index bdc538113d6..4ce43b1465c 100644 --- a/bin/named/query.c +++ b/bin/named/query.c @@ -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 @@ -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