Migrate or move cPanel DNSOnly nameserver to another server

sonali_csj

Registered
Jun 1, 2013
4
0
1
cPanel Access Level
DataCenter Provider
Hi,

We have 4 cPanel DNS ONLY name servers in DNS Cluster with write-only role. One of the primary nameserver i.e. ns1, is running on old OS, so we are having problems with updates. So we want to reinstall or make new nameserver for replacing this one.

What would be best way to do this to avoid any downtime, since its our primary name server? DNS cluster is using direct links from main WHM server.


Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Hello,

Here's a thread you may find helpful:

Migrate cPanel DNS-Only Nameservers

You could also setup a new server to act as NS1 with a new IP address, add to the cluster, and then update the name server IP address at the domain registrar once you've confirmed all of the zones have synced over to it.

Thank you.
 

sonali_csj

Registered
Jun 1, 2013
4
0
1
cPanel Access Level
DataCenter Provider
Hi,

I dont want to change nameserver ip address. What if I make new fresh install cPanel DNS Only, use diff ip address and hostname. And then i remove current ns1 from DNS cluster. After that, I change IP address and hostname of new DNS only server same as old ns1 and then Add it to DNS cluter. And do " Synchronize all zones to this server only" on new server. Would this be safe to do ?

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
What if I make new fresh install cPanel DNS Only, use diff ip address and hostname. And then i remove current ns1 from DNS cluster. After that, I change IP address and hostname of new DNS only server same as old ns1 and then Add it to DNS cluter. And do " Synchronize all zones to this server only" on new server. Would this be safe to do ?
Hello,

This would work, however you may want to confirm with your provider that switching an IP address to a new server is supported. Also, since a DNS cluster is configured, the additional name servers will allow DNS to still work in the event of any downtime with NS1.

Thank you.
 

sonali_csj

Registered
Jun 1, 2013
4
0
1
cPanel Access Level
DataCenter Provider
Hi,

But I wont be changing IP address of the server, when new DNS Only server is ready for switch then I will change new server's ip to same as old one.

/Sonali
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
But I wont be changing IP address of the server, when new DNS Only server is ready for switch then I will change new server's ip to same as old one.
Hello,

Thanks for the clarification. Let us know if you encounter any issues.