I have a Master/Slave DNS setup using Bind9 and RNDC on Centos7. It is working properly and zones are being replicated from the master server to the slave server when created. When a zone is deleted from the master, the RNDC command deletes the zone from the .nzf file correctly, however the actual zone file containing the records is left on the slave servers forever. Is there a way to make BIND clean up after itself for all discovered zone files which arent defined in slave .nzf file? I should clarify that I don't have the option to edit the rndc commands which are fired from the master server as it is not in my control. So maybe a script that would crawl the conf file daily and remove any zone files in /var/named/ which are not referenced in the .nzf file?