diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 00e2bdb55d..c2b8186f4d 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -2657,13 +2657,13 @@ zone_startload(dns_db_t *db, dns_zone_t *zone, isc_time_t loadtime) { } cleanup: - if (result != ISC_R_SUCCESS) { + if (result != ISC_R_SUCCESS && result != DNS_R_SEENINCLUDE) { dns_zone_rpz_disable_db(zone, load->db); dns_zone_catz_disable_db(zone, load->db); } tresult = dns_db_endload(db, &load->callbacks); - if (result == ISC_R_SUCCESS) { + if (result == ISC_R_SUCCESS || result == DNS_R_SEENINCLUDE) { result = tresult; }