1754. [bug] We wern't always attempting to query the parent

server for the DS records at the zone cut.
                        [RT #12774]
This commit is contained in:
Mark Andrews 2004-11-10 21:57:35 +00:00
parent cb210a330f
commit c18218935f
2 changed files with 9 additions and 2 deletions

View file

@ -5,6 +5,10 @@
1760. [bug] Host / net unreachable was not penalising rtt
estimates. [RT #12970]
1754. [bug] We wern't always attempting to query the parent
server for the DS records at the zone cut.
[RT #12774]
1753. [bug] Don't serve a slave zone which has no NS records.
[RT #12894]

View file

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: resolver.c,v 1.218.2.18.4.46 2004/11/10 21:48:01 marka Exp $ */
/* $Id: resolver.c,v 1.218.2.18.4.47 2004/11/10 21:57:35 marka Exp $ */
#include <config.h>
@ -5413,13 +5413,16 @@ resquery_response(isc_task_t *task, isc_event_t *event) {
return;
}
findoptions = 0;
if (dns_rdatatype_atparent(fctx->type))
findoptions |= DNS_DBFIND_NOEXACT;
if ((options & DNS_FETCHOPT_UNSHARED) == 0)
name = &fctx->name;
else
name = &fctx->domain;
result = dns_view_findzonecut(fctx->res->view,
name, fname,
now, 0, ISC_TRUE,
now, findoptions,
ISC_TRUE,
&fctx->nameservers,
NULL);
if (result != ISC_R_SUCCESS) {