How to Change A record for all domains on Cpanel server


If you migrated all accounts from old server to new server with different IPs then you have to change DNS records with new IPs for all domains. Please use following step to replace the IPs on new server.

#cd /var/named/
#replace “”  “” — * is old IP  and is new IP

I hope it will help you. 🙂