Loading...

Knowledge Base
Save up to  70% off.  Start your website today!

Manage DNS Zones in WHM

 

You can manage DNS zones under the DNS Functions section in WHM (Web Host Manager). This area is for advanced users only, so please feel welcome to request any DNS zone changes by contacting us via phone or chat .

This article discusses the following topics.


Where is the DNS Zone Manager?

To access the DNS Zone Manager:

  1. Log in to WHM.
  2. Using the search box either on the left-side panel or at the top of the page, search for DNS Zone Manager.

    WHM - search boxes

    Alternatively, you can expand the DNS Functions section on the left-side menu and click DNS Zone Manager from the list of options.

    WHM - DNS Zone Manager

  3. In the DNS Zone Manager, you can filter your domains by typing the domain name in the search box.

    WHM - DNS Zone Manager interface


Understanding DNS Zones

The DNS Zone Manager allows you to perform the following actions:

Add A record (+ A Record)
The A record connects your domain or subdomain to an IP address. For example, mydomain.com -> 123.456.78.9 (IP address).

With this option, you can enter a valid domain name in the Name field and a valid IP address in the Address box.

WHM - Add A records

Add CNAME Record (+ CNAME Record)
The CNAME record points your domain or subdomain to another domain name. For example, www.mydomain.com -> mydomain.com.

Once you click this option, you can enter a valid domain name in the pop-up window's Name field and a Fully-Qualified Doman Name (FQDN) in the Destination box.

WHM - Add CNAME records

Add MX Record (+ MX Record)
The MX records control where your emails are received. If mail is hosted on another server, this is what you'll need to change.

On the pop-up window, enter the mail's Priority value and Fully Qualified Domain Name (FQDN) in the Destination box.

WHM - Add MX record

DNSSEC
This option allows you to manage your Domain Name System Security Extensions (DNSSEC) records within the DNSSEC Keys section.

WHM DNS Zone Manager - DNSSEC

This is the DNSSEC Keys interface.

WHM - DNSSEC

Manage
The Manage button will take you to the Manage DNS Zone Records section, where you can search, add, edit, and delete DNS records. More information is provided below.

WHM - DNS Zone Manager - Manage button

For in-depth learning about DNS records, you may visit the following article.


DNS Zone Manager within WHM

The DNS Zone Manager section is where you can manage the DNS records of all domains within your server. You can use the filter below the search box to search the DNS record by its record type.

WHM - Manage

In this section, you can do the following:

Add a DNS zone record

To add a DNS record to WHM:

  1. Within WHM's DNS Zone Manager, locate the domain you want to modify, then click its Manage button.
  2. On the next page, click the + Add Record button on the right side.

    WHM - DNS Zone Manager - + Add Record

  3. You can click the dropdown arrow to select the record type you want to add to the domain. 

    WHM - DNS Zone Manager - Select record type

    Alternatively, on the pop-up text boxes, select the record type from the Type dropdown.

    DNS Zone Manager - Add necessary DNS record

  4. Enter the necessary record information.
  5. Once done, click on the Save Record button.

Edit a DNS zone record

To edit a DNS record in WHM:

  1. Within WHM's DNS Zone Manager, locate the domain you need to modify.
  2. Click the Edit button on the right.

    WHM - DNS Zone Manager - Edit

  3. Make the necessary changes, then click Save Record.

Delete a DNS zone record

To delete a DNS record in WHM:

  1. Within WHM's DNS Zone Manager, locate the domain you need to remove.
  2. Click the Delete button on the right.

    WHM - DNS Zone Record - Delete

View raw DNS zone file

To view the DNS zone in raw format:

  1. Within WHM's DNS Zone Manager section, click the Actions dropdown below the search box.
  2. Select View Raw DNS Zone File.

    WHM - DNS Zone Manager - Action - View Raw DNS Zone File

  3. On the next page, the DNS records will be displayed in their raw format.

    WHM - DNS zone raw format

  4. You can click the Copy link at the bottom left to copy the raw DNS records or the Return to Editor link to go back to the DNS Zone Manager section.

    WHM - DNS raw format - Copy or Return

Reset DNS record

Please note that resetting your DNS zone file will erase any custom DNS records you made on the domain.

To reset the DNS zone file:

  1. Within WHM's DNS Zone Manager section, click the Actions dropdown below the search box.
  2. Select Reset DNS Zone.

    WHM - Action - Reset DNS zone

  3. On the pop-up window, click Continue to reset the selected domain's DNS zone file.

    WHM - Confirm reset of DNS zone files


How to change the NS records when using private name servers

Note: The instructions below are only applicable to Reseller, VPS, and Dedicated hosting.

The NS (Nameserver) records delegate a DNS zone to use the specified authoritative name server and must be a fully-qualified domain name (FQDN). Your NS records must match the HostGator name servers in your account. These records should be configured in your WHM during the initial setup; however, you can also add or change these within your WHM.

There are several ways to manage your NS records within WHM.

Managing the NS records via DNS Zone Manager

To manage your NS records via DNS Zone Manager:

  1. Within WHM's DNS Zone Manager section, your NS records will be displayed. Click on the Manage button.

    DNS Zone Manager - NS records

  2. You will see the SOA records on the next page.

    WHM - DNS Zone Manager - DNS records details

  3. Make the necessary updates. Please use the private name server information you have for your account, which was provided to you in your HostGator Welcome email.
  4. Once done, click on the Save All Records button at the top right.

    WHM - DNS Records - Save All Records

Managing the NS records via Basic WebHost Manager® Setup

To manage your NS records via Basic WebHost Manager® Setup:

  1. In WHM, look for the Basic WebHost Manager® Setup section using the search boxes on the left-side panel or at the top of the page.

    WHM Basic WebHost Manager Setup

  2. On the Basic WebHost Manager® Setup page, scroll down to the Nameservers section. This is where you can specify your server's name servers.

    WHM - Basic WebHost Manager Setup - Nameservers

  3. Click the Configure Address Records button to add your A entry. The system will do a DNS lookup on the name server you entered and list the results in the IP Addresses column.
  4. In the pop-up window, check the IP address you entered matches what you have in your HostGator Welcome email.

    WHM - Configure Address

  5. Once done, click Configure Address Records.
  6. Click Close.

How to configure MX records in WHM

The MX records specify where the server should send the emails for a domain as it contains the mail server's IP address. 

WHM allows you to manage your domains' MX records within the DNS Zone Manager and configure your email delivery method (or email routing) within the Email Routing Configuration section.

Here are the steps in configuring your MX records within WHM.

Step 1: Set up your MX records

  1. Set up the MX records. If you haven't set up the MX records for your domain yet, follow the instructions in the Add a DNS zone record section above to add them to your WHM.

    If your MX records already exist and you want to edit them, make the necessary updates within the Edit a DNS zone record section or in the Email Routing Configuration section as described below.

  2. Once the MX records are set up, check the DNS zone files for the relevant A records (IP address).
  3. Please allow your MX records to propagate fully.

Step 2: Configure your email routing

To point the MX records to either a remote or local server:

  1. Within WHM, look for the Email Routing Configuration section using the search boxes either on the left-side panel or at the top of the page.

    WHM - Email Routing Configuration

  2. Select the domain you wish to update, then click Edit.

    WHM - Email Routing Configuration interface

  3. Select your preferred email delivery method – Local, Backup, or Remote Mail Exchange. Please visit the article Local, Backup, and Remote Mail Exchanger to know the differences between these routing options.

    WHM - Select email routing method

  4. Enter your preferred MX destination (MX records) in the MX Entries section.

    WHM - Enter MX Destination

  5. Once done, click Save.

 

Did you find this article helpful?

 
* Your feedback is too short

Loading...