From f3f7b7df5dc920eb982c48419126527d18d2c0a2 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. --- 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 f7de8e7fdf..a625d689f9 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -19576,7 +19576,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); }