How to manage DNS Zones in WHM?, Hostripples Web Hosting

How to manage DNS Zones in WHM?

How to manage DNS Zones in WHM?

DNS Zones holds the data that is required by DNS for operating. DNS Zone is a portion of DNS name space by using zones this allows the DNS namespace to be divided up for the administrative reasons.

A DNS zone contains DNS records depending upon which type of DNS zone is created this would determine the kinds of DNS records that can be stored in that zone and also if the records can be modified  DNS zones allows the DNS name space to be divided up for administration and redundancy.

WHM contains a number of tools that allow you to manage your Zone files. They are in the ‘DNS functions’ category of the menu.

Let’s start by adding a new DNS Zone.

Click ‘Add a DNS Zone’, a new interface will appear

How to manage DNS Zones in WHM?, Hostripples Web Hosting

Enter an IP address to use for the domain name. Then enter the domain name itself. Finish by choosing which account should own the new domain name. You can also assign the domain to the system, if it shouldn’t belong to any user.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

Scroll down. Click ‘Add zone’ to save. The new DNS zone has been created successfully using the standard zone template.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

Let’s edit the zone. A new interface will appear.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

 Select it from the list.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

Scroll down. Hit the ‘Edit’ button since this page is fairly large.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

You shouldn’t need to edit anything in this first section of text fields, except for the serial number. This number let’s DNS resolvers know when this record has changed.

In order to generate this number, WHM uses the current year, followed by the current month, the current day and the current hour. Splitting up the serial number shown here, you can see each component.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

You should update the serial number in a similar fashion whenever you make changes to this zone.

Scroll down. Here are the DNS records in a zone you are most likely to worry about starting at the top; you have the nameserver (or NS) records. Then the ‘A’ records, which represent the hosts of this DNS Zone, an ‘A’ record points to an IP address as you can see these do at right. Any hostnames should be specified using ‘A’ records as of course should the domain name itself.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

Next we have MX records. MX stands for Mail eXchange. Specify all the mail servers for this DNS Zone with a priority number at right. A Zone can have more than one email server with the same priority.

In this case, our zone has one MX record with priority of 0. It’s okay in fact typical, for the MX record for a domain to be the domain itself.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

The final type of record in this zone is a CNAME record, CNAME are used to create subdomains, such as mail and www. Enter the domain name in the field at right.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

You may have noticed the trailing dot on some of these entries. When entering domain names here, they must be fully qualified. This trailing dot signifies the absolute end of the domain name. Think about it like a windows path in reverse: the dot serves the same functions as c:\does.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

When dealing with sub-domains, the desired functionality is to have the rest of your domain name appended onto the end. Since you have entered the domain name at right, the sub domain at left shouldn’t be fully qualified. Not fully qualified…no dot at the end.

Now that you have learned all about the different kinds of records, let’s add a 2 nameservers: –

We will add two nameservers hosts. This number represents the record’s Time To Live – TTL for short. It tells a DNS resolver when to check our nameserver for updates.

Specify a TTL in seconds. The default is 14400 or four hours, but we have changed our default to half that value i.e. 7200

Select Remember –hosts should be ‘A’ records.

Finish by entering an IP for this record.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

Now repeat the same steps for a second nameserver host.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

Scroll down. Click this checkbox if you want the local mail server to accept mail for this domain even if the primary MX record you indicated does not point to this server. When finished here. Click ‘Save’.

That’s it! The zone file has been modified. Now, let’s delete the zone.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

Now use the ‘Delete a DNS zone’ tool: – Select Delete a DNS zone from the list. A new interface will appear.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

Note that you can select multiple zones if you wish.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

Scroll down. Click delete.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

Confirm the deletion. The zone we created has now been removed from the server.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

WHM provides you with another way to ‘Edit a zone’s MX records’ click ‘Edit MX entry’.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

Choose a domain to edit. Click edit.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

Enter a destination mail server changing the priority if you wish.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

Add another MX entry field – You can add another MX entry field with this link

How to manage DNS Zones in WHM?, Hostripples Web Hosting

Or delete a field as such.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

When finished. Click ‘Save’. The domain’s zone file has been updated to reflect the changed MX records.

How to manage DNS Zones in WHM?, Hostripples Web Hosting

You now know how to manage the DNS Zones in WHM.

Visit: Hostripples!


How to manage DNS Zones in WHM?, Hostripples Web Hosting
Vishwajit Kale
Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.