After some investigation, I think I found the answer to my question.
Adding and Removing a Zone Using rndc
To enable rndc to add new zones, add the following code to /etc/bind/named.conf.option:
allow-new-zones yes;
add new zone
rndc addzone mydomain.com '{type master; file "/etc/bind/rndc_zones/mydomain.com";};'
rndc addzone mydomain.com '{ type slave; masters { master_ip; }; };'
to reload the changed zone
rndc reload mydomain.com
remove zone
rndc delzone mydomain.com
source
share