]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Send NOFITY messages after deleting private-type records.
authorTony Finch <dot@dotat.at>
Thu, 16 Jan 2020 15:46:04 +0000 (15:46 +0000)
committerMark Andrews <marka@isc.org>
Thu, 23 Jan 2020 07:36:03 +0000 (07:36 +0000)
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

index f7de8e7fdf7df90807bd1a37d57a41e92ab15e6f..a625d689f9dd337314eb36f09e1344120befc08d 100644 (file)
@@ -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);
        }