From bee4599f905b792937777c06088d21a16e792337 Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Thu, 16 Jan 2020 15:46:04 +0000 Subject: [PATCH] Send NOFITY messages after deleting private-type records. The `rndc signing -clear` command cleans up the private-type records that keep track of zone signing activity, but before this change it did not tell the secondary servers that the zone has changed. (cherry picked from commit f3f7b7df5dc920eb982c48419126527d18d2c0a2) --- lib/dns/zone.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 3923d7f9ab..edfddc8ac5 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -19426,7 +19426,8 @@ keydone(isc_task_t *task, isc_event_t *event) { commit = true; LOCK_ZONE(zone); - DNS_ZONE_SETFLAG(zone, DNS_ZONEFLG_LOADED); + DNS_ZONE_SETFLAG(zone, DNS_ZONEFLG_LOADED| + DNS_ZONEFLG_NEEDNOTIFY); zone_needdump(zone, 30); UNLOCK_ZONE(zone); }