Important DNS Update

Step 2 of 3 of setting up private name servers,


Setting A Records for Private Name Servers

In addition to being registered at the domain registrar, private name servers need to also have a matching A record on the server they are pointed to or the site will not resolve. The way around this is to simply add an A record to the DNS zone for each name server.

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

Creating the A Records for Private Name Servers

To create A records for private name servers, follow the instructions below:

  1. Log into WHM.
  2. Navigate to the DNS Functions section.
  3. Click on the Edit DNS Zone option.
  4. Select the primary domain that is listed in your HostGator welcome email.
  5. Click the Edit button and wait for the page to load.
  6. Check your New Account Info email for the correct name server IPs. This is exactly the information you need for the record name and address.
    Below is an example of how the private name servers and their corresponding IPs will appear in your welcome email:
    • ns1.resellerdomain.com (123.123.123.123)
    • ns2.resellerdomain.com (50.50.50.78)
    If you only have one IP, please contact us via phone or Live Chat to obtain both name server IP addresses.
  7.  you will be able to see the DNS zone file. Scroll down to the section marked Add New Entries Below this Line.
  8. In the first blank, type ns1.
  9. Skip the box with 14400, and go to the drop-down box.
  10. In the drop-down box, select A. A new box will appear.
  11. Erase the IP or hostname within the box.
  12. Type in the IP address for the NS1 private name server listed in your welcome email.
  13. In the second blank, type ns2.
  14. Skip the box with 14400, and go to the drop-down box.
  15. In the drop-down box, select A. A new box will appear.
  16. Erase the IP or hostname within the box.
  17. Type in the IP address for the NS2 private name server listed in your welcome email.
  18. Scroll all the way down to the bottom of the page and click the Save button.

When you get to the last step, your A record entries should look similar to the following:

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

Be sure to also fix your DNS Glue to ensure that your site will resolve.


Troubleshooting and Confirming Settings

If your sites are not resolving after adding the A records, please make sure that the private name servers are registered.

To test if your private name servers are registered correctly, you can ping each name. The examples below show how both registered and non-registered name servers appear when pinged.

Example: Ping Test for a Non-Registered Name Server

The example listed below illustrates how the ping will look for a non-registered private name server.

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

Example: Ping Test for a Registered Name Server

The example provided below illustrates how the ping will look for a properly registered private name server.

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:>