Hosting Nameserver on my server
I need some help understanding how it works when I have a DNS server configured via cPanel/WHM. I read the cPanel documentation, but still some questions.
I set the nameservers on my server to ns1.mydomain.com and ns2.mydomain.com. I have PowerDNS enable. I have the latest cPanel version installed on Ubuntu 20.04.
What do I have to set at my register in the DNS settings? I have the option of giving nameservers, or DNS information:
1) Do I enter ns1.mydomain.com and ns2.mydomain.com as the nameservers at my register? How will ns1.mydomain.com be resolved? Will PowerDNS some how add my nameservers to some list so it can be found?
2) Or, do I enter some DNS data at my register so my nameservers can be found? For example, do I add two A records pointing "ns1.mydomain.com" and "ns2.mydomain.com" to the IP address of my server?
-
Hey there! When you create the nameservers in the initial WHM configuration, that just tells the system what NS records to create in future DNS zones. It doesn't create the DNS records or tell any external service that these nameservers exist. You'll need to contact the registrar and let them know you have a pair of custom nameservers. We have a list of popular registrars here, so you may find this helpful: 0 -
Thanks for the help! The setting at my register was missing. I added it, and now working perfect! 0 -
I'm glad to hear that's all it was! 0
Please sign in to leave a comment.
Comments
3 comments