Nameserver Config with DNS-only
Hope you can sheed light on mw with this.
I have a WHM/Cpanel VPS that has these details:
[LIST]
hostname = s01.domain.com
hostname ip = 1.1.1.1
nameserver1 = ns1.domain.com = 1.1.1.1
nameserver2 = ns2.domain.com = 1.1.1.1
domains hosted = around 180
Hostname, NS1 and NS2 are using single IP.
I just bought a new VPS and installed DNS-only on it. Settings are:
[LIST]
hostname = s03.domain.com
hostname ip = 2.2.2.2
nameserver1 = ns3.domain.com = 2.2.2.2
nameserver2 = ns4.domain.com = 2.2.2.2
In my Domain Registrar, I currently have nameservers set to:
[LIST]
ns1.domain.com = 1.1.1.1
ns2.domain.com = 1.1.1.1
ns3.domain.com = 2.2.2.2
ns4.domain.com = 2.2.2.2
Here's what I want to achieve.
I want that my Main WHM Server to have Nameservers:
[LIST]
ns1.domain.com = 1.1.1.1
ns2.domain.com = 2.2.2.2
I understand that I need to change my domains NS2 in my registrar to 2.2.2.2.
I am confused on what other things that I need to change on my main WHM server and on my DNS-only server.
If there is, what are the settings that I need to change on my DNS-only server?
Do I need to update settings in /var/cpanel/nameserverips.yaml on my main WHM server?
How can I update the IP of NS2 of all domains (180+) on the Main Server DNS settigns to 2.2.2.2 (DNS-only server IP).
Hope I was able to give clear explanation. If you have better suggestions on setting up a DNS Cluster, please give as well.
Thanks in advance guys.
-
Hello :) The functionality of the "Nameserver IPs" page is for visual purposes only. It is a report, and not a page meant to configure any aspect of DNS. The important entries on the cPanel servers are the "A" records that you have added for your name servers. Thus, as long as you have registered these name servers to the matching IP addresses at the domain registrar, and updated the "A" records in the DNS Zone, then no further DNS configuration is required. Note that you only have to edit the "A" record for the NS entry itself in it's zone, you do not have to edit the zone for all domain names unless you want them to switch to NS1/NS2 in their zones. Thank you. 0 -
[quote="cPanelMichael, post: 1537881">Hello :) The functionality of the "Nameserver IPs" page is for visual purposes only. It is a report, and not a page meant to configure any aspect of DNS. The important entries on the cPanel servers are the "A" records that you have added for your name servers. Thus, as long as you have registered these name servers to the matching IP addresses at the domain registrar, and updated the "A" records in the DNS Zone, then no further DNS configuration is required. Note that you only have to edit the "A" record for the NS entry itself in it's zone, you do not have to edit the zone for all domain names unless you want them to switch to NS1/NS2 in their zones. Thank you.
Thanks CpanelMichael. I will edit NS2 A record of my main domain and point it to 2.2.2.2 (DNS-only server IP).0 -
[quote="pauloray, post: 1537952">Thanks CpanelMichael. I will edit NS2 A record of my main domain and point it to 2.2.2.2 (DNS-only server IP).
The only other item to consider is which name servers your domain names use in their DNS Zones. It's likely the default name servers configured for the server at the time of account creation. You want this to match the name servers used at the domain registrar for the domain names. So, if the domain name uses NS1/NS2 at the registrar, their DNS Zone should also use NS1/NS2. Thank you.0 -
I have updated NS2 on my domain registrar. I can see now that NS2 is having IP address of 2.2.2.2. How about DNS Synchronization, is this done automatically or do I need to SYNC everytime I add a domain/account in my Main WHm server? 0 -
DNS synchronization occurs automatically if you have configured the DNS Role to "Write Only" or "Synchronize Changes" in your cluster configuration. Thank you. 0 -
My Main WHM server is set to "Synchronize Changes" and my DNS-only server is set to "Standalone". I think I'm good with this config. Thanks a lot. 0
Please sign in to leave a comment.
Comments
6 comments