HostGator.com » Support Portal



Important DNS Update

Step 2 of 3 of setting up private name servers,


Step 2: Setting A Records for Private Name Servers

Verisign (through their involvement in the management of the root DNS servers on the net) has pushed out a change so if you have private nameservers set at your registrar, then your DNS server must have a matching A record or the site will not resolve. The way around this is to simply add an A record to the DNS zone for each nameserver.

Note: This should only concern anyone using private nameservers. Hatchling, Baby, and Business plan owners should not worry about this, as they cannot use private name servers.

Creating the A records

  1. Login to WHM and look under DNS Functions.
  2. Click Edit DNS Zone and select the primary domain (the one that appears in your welcome email).
  3. Click the Edit button and wait for the page to load.
  4. Check your New Account Info email for the correct name server IPs.
    EXAMPLE:
    • ns1.resellerdomain.com -> 123.123.123.123
    • ns2.resellerdomain.com -> 50.50.50.78
    (If you only have one IP, please contact HostGator via live chat, telephone or email to obtain both nameserver IP addresses.)
  5. This is exactly the information you need for the record name and address. Almost done!
  6. Back at WHM, scroll down to where you see "Add New Entries Below this Line".
  7. In the first blank below that line, type ns1
  8. Skip the 14400, and in the drop down select "A".
  9. A new box will appear. Erase "IP or Hostname" and type your NS1 IP address. EXAMPLE: 123.123.123.123
  10. In the second blank below that line, type ns2
  11. Skip the 14400, and in the drop down select "A".
  12. A new box will appear. Erase "IP or Hostname" and type your NS2 IP address. EXAMPLE: 50.50.50.78
  13. Scroll all the way down and click the Save button.

When you get to the last step, it should look similar to this screen shot.

Do NOT repeat for every domain you host. This only needs to be done for your primary domain name.

Be sure to also fix your DNS Glue (Step 3).


Troubleshooting and Confirming Settings

If this does not fix your problem, then please make sure that you have registered your private nameservers first. To test if your private nameservers are correctly registered, you can ping each name.

Here I show an example of a nameserver which is not registered (ns1.mydomain.com), and then one that is registered (ns1.hostgator.com).

EXAMPLE BAD PING TEST

C:\>ping ns1.mydomain.com
Ping request could not find host ns1.mydomain.com. Please check the name and try again.

EXAMPLE GOOD PING TEST

C:\>ping ns1.hostgator.com

Pinging ns1.hostgator.com [67.18.54.2] with 32 bytes of data:

Reply from 67.18.54.2: bytes=32 time=6ms TTL=56
Reply from 67.18.54.2: bytes=32 time=6ms TTL=56
Reply from 67.18.54.2: bytes=32 time=8ms TTL=56
Reply from 67.18.54.2: bytes=32 time=7ms TTL=56

Ping statistics for 67.18.54.2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 6ms, Maximum = 8ms, Average = 6ms

C:\>

Steps to Setup Private Name Servers

  1. Register Your Name Servers at your Registrar.
  2. Make sure A Records Exist for your Registered Private Name Servers.
  3. Make sure your SOA and NS Records are Correct (DNS Glue).


Article Comments

Nav
Do you allow full flexibility with setting TTL values? What range do you permit?

HostGator
Yes, we allow full flexibility to set any value you desire. However, you should be aware that server computers will use whatever value they prefer, especially if you choose a ridiculous value (e.g. normally anything less than 86400 for NS records is ignored, depending on your TLD).

Josh
Step 2 of this tutorial is a little confusing. Maybe an example would help. Like: "If your domain is mydomain.com, then you would click on myd.mydomain.com" if that's what you want users to do. Because the way it's worded right now, I'm not sure if I should select myd.mydomain.com, or ns1.mydomain.com or ns2.mydomain.com. Those are all choices for me in WHM. Which one should I use?

HostGator
If you purchase a VPS or Dedicated server, then your primary domain name will be in that format (my.mydomain.com).

Use the primary domain in it's normal format. To accomplish this, you must create a cPanel for mydomain.com, then you will be able to see the DNS zone for that domain.

Sanket Patel
THIS ARTICLE IS VERY USEFUL TO ALL.

hounddog
Thank you for this very easy to understand article. I just switch over from a different hosting company and everything is different her. Not to mention, I'm not that savvy with this stuff to begin with. This article and the others like it in the hostgator support portal have made my switch so much easier. The support I am getting is phenomenal!

Rafael
These instructions were very helpful, and I'm not a tech.

blake
thanks for the simple instructions...mucho easy

Mike
Wow! Everytime I visit the HG knowledge base I'm impressed. Once again, I quickly and easily found the solution I was looking for, and it was clear, detailed, thorough, and right on the money! Thanks HG!

Bob
Great tutorials. It was helpful to get things setup with my first time reseller account.

I did run into one problem. After following these directions, dns update, and the directions for DNS glue; I ran the dns check at http://www.intodns.com, it was telling me I had a lame server. That lame server IP was for NS2, I entered the NS1 IP +1 as instructed in the tutorial.

I went back to godaddy domain manager, changed the host summary NS2 IP address to the NS2 IP address given to me in the account info email from hostgator, waited a couple minutes, then ran the DNS check again. the lame server problem was gone.


-thanks for the tutorials

Yonatan Berdugo
I am impressed with the support i received from GH. I just registered my private name servers. The support was fast and professional.

Aref Rasool Bhat
This is the best hosting support i have ever seen

Cosmin
Finly I' understand haw to create this record name.
Before of this article, all was a little confuse for me and my site gives error connection to visitors.
Tankx HostGAtor for good joob and nice assitance.

HostGator
Thank you for your comments. Just a quick reminder that the comments on this page are not monitored by technical support staff, and that for support issues, it is best to contact us by live chat, phone or email so we can assist you right away.

Although comments are not monitored by technical support staff, they are moderated and read by technical writers. Comments will need to be approved by a moderator before appearing.

Our technical writers do read the comments periodically for the purposes of updating the articles, and do appreciate your feedback, suggestions and corrections to the articles themselves, as well as any suggestions or tips for readers of this article. However, support questions posted here are not guaranteed to be replied to in a timely manner or at all. For support issues, it is best to contact our support staff instead by live chat, email or phone.



Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment