Control Web Panel
WebPanel => DNS => Topic started by: anandmys on October 12, 2024, 04:33:17 AM
-
I would like to have 4 name servers on same server. Current CWP GUI gives option for 2 name servers. Can anyone guide?
Background: I am migrating my VPS. Now migration is mostly done and most of the domain name servers are updated to new server.
I want to make sure that if some domain which may be still using old name servers continue to work once I suspend the old VPS.
-
Try to edit the default DNS zone template:
https://wiki.centos-webpanel.com/custom-dns-zone-template
Actually you need to remove the records (make backup of the default template before you edit it):
@ 86400 IN NS %ns1%.
@ 86400 IN NS %ns2%.
from the template and add the records like:
@ 86400 IN NS NS1.NAMESERVER.COM.
@ 86400 IN NS NS2.NAMESERVER.COM.
@ 86400 IN NS NS3.NAMESERVER.COM.
@ 86400 IN NS NS4.NAMESERVER.COM.
-
I am looking at creating cwppro VPS with 2 sets of name servers
Like a domain pointing to
ns1 & ns2 should work at n3 & ns4 also
Currently my VPS nameservers are
ns1.domain1.com
ns2.domain1.com
I want to make this VPS work with
ns1.domain2.com
ns2.domain2.com
while
ns1.domain1.com
ns2.domain1.com
continue to work
Try to edit the default DNS zone template:
https://wiki.centos-webpanel.com/custom-dns-zone-template
Actually you need to remove the records (make backup of the default template before you edit it):
@ 86400 IN NS %ns1%.
@ 86400 IN NS %ns2%.
from the template and add the records like:
@ 86400 IN NS NS1.NAMESERVER.COM.
@ 86400 IN NS NS2.NAMESERVER.COM.
@ 86400 IN NS NS3.NAMESERVER.COM.
@ 86400 IN NS NS4.NAMESERVER.COM.
-
Then just change the nameservers in CWP, rebuild the DNS zones for the domains to reflect the changers in the DNS zones then update the nameservers at the registrar for your domains.