mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
3277. [bug] Make sure automatic key maintenance is started
when "auto-dnssec maintain" is turned on during "rndc reconfig". [RT #26805]
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: server.c,v 1.644 2012/02/03 22:27:16 each Exp $ */
|
||||
/* $Id: server.c,v 1.645 2012/02/06 21:33:49 each Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -3488,6 +3488,12 @@ configure_zone(const cfg_obj_t *config, const cfg_obj_t *zconfig,
|
||||
*/
|
||||
CHECK(dns_view_addzone(view, zone));
|
||||
|
||||
/*
|
||||
* Ensure that zone keys are reloaded on reconfig
|
||||
*/
|
||||
if ((dns_zone_getkeyopts(zone) & DNS_ZONEKEY_MAINTAIN) != 0)
|
||||
dns_zone_rekey(zone, ISC_FALSE);
|
||||
|
||||
cleanup:
|
||||
if (zone != NULL)
|
||||
dns_zone_detach(&zone);
|
||||
|
Reference in New Issue
Block a user