How to setup secondary dns in cPanel
Hello,
I have a cPanel&WHM 98.0.8. My user who have domain on my cPanel wants to set secondary dns for his domain. Primary dns is cpanel dns.
How to do that?
Best regards,
Elizabeta
-
Hello, Where do I setup a secondary name server for just one domain?On the WHM I specified my two name servers but how/where do I go to specify what IP #\'s they are to \'set them up\' ? BR, Elizabeta 0 -
You can't create/define name servers in cPanel/WHM. You have to do that at your domain registrar (the domain registrar of the domain that you are using for your name servers). So if you have ns1/ns2.example.com you have to go to the registrar for example.com and they will have a web page that will allow you register an IP for ns1 and another IP for ns2. 0 -
The primary dns for this domain is cpanel dns. I want to set up a secondary dns for this domain at another location (no cPanel) How to tell the primary dns on cPanel where the secondary dns is? 0 -
As @ffeingol mentioned, there isn't any relation between your cPanel server and what nameservers are used for the domain. If you wanted a backup nameserver you would have to add that at the registrar level. If the DNS fails, that is all handled by the DNS lookups and nameserver system, and not by cPanel. 0 -
The easiest way would be to set up the second nameserver to be a cPanel DNS only server (which is a free license). You can then set up a cPanel DNS cluster and whenever something is changed in your cPanel server it's synced to the DNS only server. cPanel doc on DNS clustering DNS Cluster | cPanel & WHM Documentation 0 -
Should I especially emphasize on cPanel that the primary dns is cPanel, and the secondary in another location? Does anything need to be specially configured on WHM? 0 -
There is not a way to configure that in the DNS system, with or without cPanel. DNS doesn't have "primary" and "secondary" servers - the DNS and whois lookup will happen, and the DNS server it sees first is the one that will respond to the request. Whether that is on the cPanel machine or remote isn't something that is easily controlled. If you had a DNS cluster configured, that would give you failover functionality - if one server didn't respond to the DNS request for some reason, the other servers would continue to function, but that doesn't sound like what you're looking for. 0
Please sign in to leave a comment.
Comments
8 comments