Continued from: http://forums.cpanel.net/f5/bulk-edit-dns-zones-211731.html
Current:
New:
The command line "replace" would work perfect for this but is there a way to do it via WHM? I've already updated the nameservers under WHM > Basic cPanel & WHM Setup > Nameservers but it won't update the NS entry in all the zone files. I did the "replace" method on my personal domain, restarted named and did a dig @cpanel2.company.net mydomain.com and everything came back correct with the new AUTHORITY SECTION: DNS servers.
We're setting up new CP DNS only servers and I need to update all the DNS zones and remove the old DNS server and replace it with the new host address.Hello
The replace command can be useful, but please note you will need to manually update the serials in the zones afterward. The "IP Migration Wizard" will complete this for you automatically.
Thank you.
Current:
Code:
;; AUTHORITY SECTION:
domain.com. 86400 IN NS [COLOR="#FF0000"]cpanel1.company.net[/COLOR].
domain.com. 86400 IN NS cpanel2.company.net.
Code:
;; AUTHORITY SECTION:
domain.com. 86400 IN NS [COLOR="#FF0000"]cpdns1.company.net[/COLOR].
domain.com. 86400 IN NS cpanel2.company.net.