cPanel restore multiple backups from ssh

Bulk Edit DNS Zone On cPanel

How do I bulk edit a DNS zone on cPanel?

Changed nameserver name and need to update all the DNS zones on your cPanel server?

Using the replace command from an SSH session will make it simple.

Just use the following command:

replace "<old-nameserver>" "<new-nameserver>" — /var/named/*.db

Where <old-nameserver> is the hostname of the old nameserver and <new-nameserver> is the new namserver hostname you want to replace it with.

You should then restart the DNS service:

service named restart