Apologies if this is in the docs; can't find it.
I want to change zone files en masse. That is for a block of domains, for example, I want to change ns7 and ns8 to ns1 and ns2.
Is there an API or CPanel script I can leverage?
Lastly, can I directly edit /var/named/<domain>.db safely? (And is that the zone file?) In the absence of an API, I'm fine with writing a script to edit the zone files.
I want to change zone files en masse. That is for a block of domains, for example, I want to change ns7 and ns8 to ns1 and ns2.
Is there an API or CPanel script I can leverage?
Lastly, can I directly edit /var/named/<domain>.db safely? (And is that the zone file?) In the absence of an API, I'm fine with writing a script to edit the zone files.
Last edited: