2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

3270. [bug] "rndc reload" didn't reuse existing zones correctly

when inline-signing was in use. [RT #27650]
This commit is contained in:
Evan Hunt
2012-01-31 01:13:10 +00:00
parent 6859e66cb4
commit c54dadd853
6 changed files with 223 additions and 28 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.c,v 1.638 2012/01/25 02:46:53 marka Exp $ */
/* $Id: server.c,v 1.639 2012/01/31 01:13:09 each Exp $ */
/*! \file */
@@ -3406,6 +3406,7 @@ configure_zone(const cfg_obj_t *config, const cfg_obj_t *zconfig,
result = dns_view_findzone(pview, origin, &zone);
if (result != ISC_R_NOTFOUND && result != ISC_R_SUCCESS)
goto cleanup;
if (zone != NULL && !ns_zone_reusable(zone, zconfig))
dns_zone_detach(&zone);