Since the bind version bind> = 9.10.0 the new option "rndc delzone -clean [ZONE]" is supported. This also deletes all related files.
When is the option added?
This makes it possible to make the same zone available on another server. (If deleted before)
Manual:
If the -clean is specified, the zone's master file (and journal
file, if any) will be deleted along with the zone. Without the
-clean option, zone files must be cleaned up by hand. (If the zone
is of type "slave" or "stub", the files needing to be cleaned up
will be reported in the output of the rndc delzone command.)
When is the option added?
This makes it possible to make the same zone available on another server. (If deleted before)
Manual:
If the -clean is specified, the zone's master file (and journal
file, if any) will be deleted along with the zone. Without the
-clean option, zone files must be cleaned up by hand. (If the zone
is of type "slave" or "stub", the files needing to be cleaned up
will be reported in the output of the rndc delzone command.)
Last edited: