diff --git a/CHANGES b/CHANGES index 0c1cde3f7f..18a891425e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ + 370. [bug] The error message for roll forward failures was + overly terse. + 369. [func] Support new named.conf options, view and zone statements: diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 5b314efab0..f2620bba8f 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zone.c,v 1.173 2000/08/02 22:29:13 explorer Exp $ */ +/* $Id: zone.c,v 1.174 2000/08/03 21:24:49 marka Exp $ */ #include @@ -723,9 +723,14 @@ dns_zone_load(dns_zone_t *zone) { result = dns_journal_rollforward(zone->mctx, db, zone->journal); if (result != ISC_R_SUCCESS && result != ISC_R_NOTFOUND && - result != DNS_R_UPTODATE && result != DNS_R_NOJOURNAL) + result != DNS_R_UPTODATE && result != DNS_R_NOJOURNAL && + result != ISC_R_RANGE) { + zone_log(zone, me, ISC_LOG_ERROR, + "dns_journal_rollforward returned: %s", + dns_result_totext(result)); goto cleanup; - if (result == ISC_R_NOTFOUND) { + } + if (result == ISC_R_NOTFOUND || result == ISC_R_RANGE) { zone_log(zone, me, ISC_LOG_ERROR, "journal out of sync with zone"); goto cleanup;