From 34c1d0e1b64a75ffb4b17c2e5d8654f77d47ea06 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 23 Jul 2002 03:40:19 +0000 Subject: [PATCH] For some zones, querying for a non-DS record, then a DS record would time out and SERVFAIL. --- bin/named/query.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/named/query.c b/bin/named/query.c index bdc538113d..4ce43b1465 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