Skip to main content

Setting up name servers in WHM

Comments

2 comments

  • cmo
    Your resolvers are just your server's primary and secondary DNS IP's (used to look up domains not on your server). Nothing to do with nameservers. I think a lot of people just use Google's public DNS servers (8.8.8.8 and 8.8.4.4). These are what I use on my VPS for 'resolvers'. To register your nameservers, log into your domain registrar (where you actually registered your domain) and select your domain to edit. Most registrars will have a setting for your domain labeled 'Register Nameservers' or 'Create Nameservers'. If you see something like that, click it and create 2 new nameservers (like ns1.yourdomain.com and ns2.yourdomain.com, or whatever you want to call ns1 and ns2) and enter the IP you were given for your VPS. **Not all registrars allow you to create nameservers, or so I've read, but I've never seen one that doesn't allow it. With a single IP on your VPS, yes, you can assign both of your nameservers to it, no problem. You can also assign an A record for your hostname (yourserver.yourdomain.com) to that same IP. Just starting off, this is the easiest setup to get you going. Later on, after the 'new' and 'scared to mess up' wear off, it would be wise to use at least one external nameserver that will replicate your master zone. That is a whole new ball of yarn that I wouldn't worry about just yet. Pardon me if I am not clear, I am a little sleepy - too much reading this forum trying to find answers to my own problems :eek:
    0
  • cPanelMichael
    Hello :) You should not be using the same IP addresses for your resolvers that you use for your name server IP addresses. Typically, you will configure your resolvers with the IP addresses that your data center provides, or with public resolvers such as: 4.2.2.2 8.8.8.8 In addition to the information in the previous post, it's important to keep in mind that 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. It reports the nameservers used by DNS zones on the server, as well as a count of the the number of zones that use a given nameserver. The important entries on the cPanel server 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, then no further DNS configuration is required after adding your "A' records in WHM. The "Nameserver IPs" page can include cached data, so you can safely ignore any mentions of "No IP" on that page as it may take some time before it updates. Thank you.
    0

Please sign in to leave a comment.