From: Tony Finch Date: Thu, 16 Jan 2020 15:46:04 +0000 (+0000) Subject: Send NOFITY messages after deleting private-type records. X-Git-Tag: v9.14.11~31^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bee4599f905b792937777c06088d21a16e792337;p=thirdparty%2Fbind9.git 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) --- diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 3923d7f9ab3..edfddc8ac5f 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); }