From 03d337f54a5ed786a2b50ad021c095e3008a313d Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 23 Jul 2002 03:41:44 +0000 Subject: [PATCH] For some zones, querying for a DS record before anything else would SERVFAIL. --- lib/dns/resolver.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index ad0965a527..1edbb91827 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: resolver.c,v 1.244 2002/07/15 02:23:58 marka Exp $ */ +/* $Id: resolver.c,v 1.245 2002/07/23 03:41:44 marka Exp $ */ #include @@ -4607,13 +4607,10 @@ resquery_response(isc_task_t *task, isc_event_t *event) { return; } findoptions = 0; - if (dns_rdatatype_atparent(fctx->type)) - findoptions |= DNS_DBFIND_NOEXACT; result = dns_view_findzonecut(fctx->res->view, - &fctx->domain, + &fctx->name, fname, - now, findoptions, - ISC_TRUE, + now, 0, ISC_TRUE, &fctx->nameservers, NULL); if (result != ISC_R_SUCCESS) {