Aaron Hatton

Active Member
Jun 19, 2012
26
1
3
London, United Kingdom
cPanel Access Level
Root Administrator
Hello,

I currently have around 2,000 DNS zones which I am using on an account and am looking to move these to a cPanel cluster of 5 servers.

When looking on the current server the domains show as .txt files and when exporting they export as .txt zone files, is there a way to upload these to my cPanel server and assign them to cPanel users as well so they can amend records themselves.

I know if I am to rename the file to add a .db at the end and a few tweaks to the TTL format, I can add it manually to the /var/named/ folder however I am unable to assign this to a user for them to manage, some users have close to 300 domains to manage.

Is there a way to automate this to save me manually creating around 2,000 DNS Zones manually one by one for each user.

With Thanks

Aaron
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello,

There are no options in Web Host Manager that will automate the ownership assignment of the zones. You can copy over the zones with the correct file name to the /var/named directory and then rebuild the DNS configuration via:

Code:
/scripts/rebuilddnsconfig
Also, the following thread explains how to increment the serials in the zone:

https://forums.cpanel.net/threads/how-to-incremental-serial-number-in-dns-zone.211732/#post-873142

Note that accounts do not manage domain names unless they are added to the account as parked or addon domain names.

Thank you.