Custom DNS in cPanel and WHM

How do I add a custom DNS record?

  • DNS records can be added from either cPanel or WHM. It is recommended to add domain-related DNS records through cPanel, and only add server-related DNS records through WHM (ie: name server records, hostname records, etc)

To enter DNS records with in cPanel:

1.  Under Domains click on Simple DNS Editor cPanel10

  • If you have more than one domain added, select the domain for which you wish to create records from the dropdown box
  • If you only have one domain, there will not be a dropbox

2.  Enter under Name what is being directed to through the IP. You can also use a wildcard(*) if necessary. Wildcards will cover anything under the domain such as cPanel20 3.  Enter the IP address for your record, cPanel25 4.  And click Add A Record cPanel40

    • There is also the option below to create canonical (CNAME) records, with a Add a CNAME Record button to submit.


Advanced DNS Zone Editor

DNS (Domain Name Service) is the component of the Internet that converts human-readable domain names (for example, into computer-readable IP addresses (for example, 123.456.789). DNS uses zone files that reside on your server to map domain names to IP addresses.  There are several different types of records in a domain’s zone file. This feature allows you to create, edit, and delete A, AAAA, CNAME (Canonical Name Record), SRV (Service Record), and TXT (Text Record) records. Enabling or Disabling the Advanced DNS Editor for cPanels in WHM Please ensure the feature list with the “Advanced DNS Zone Editor” option enabled is the same feature list assigned to the package used by the account. You can edit the package to determine which feature list is assigned to it via:  “WHM >> Packages >> Edit a Package”

Log into your WHM dashboard.   Once you are in the WHM, located under the Packages categoryWHM Packages1
look for the Feature Manager tool.
WHM Feature ManagerThis leads you to a page where you can select the feature template list you want to edit. In this case, there is not one, so we can create one by giving a name to the list we want to create. For example, we name this list Default. Click Add to create the feature template.

WHM Feature Manager 2 The new list name will appear under the Edit a Feature List section. Make sure it is selected in the dropdown and click the Edit button. From here you will see a long lost of Features that are offered for accounts with this list. Select or Deselect the checkbox next to the Advanced DNS Zone Editor field. Scroll to the bottom and click on the Save button. This saves your configuration and all accounts that use that configuration will have/ not have the Advanced DNS Zone Editor according to your configuration.


To enter Advanced DNS records with in cPanel:

1.  Under Domains click on Advanced Zone Editor There are 3 differences in the advanced editor from the simple one. Please note that if you are not 100% sure what changes you are making it is always better to use the Simple DNS Zone Editor in order to avoid any major issues with the DNS zone for your domain name and the accessibility of your website. The first difference is the option to completely reset your DNS records to the default ones. Note that this option should not be used in cases you need custom setup for your domain name DNS. It is only safe to use this option if you would like the DNS reset to default.


  1. To reset the DNS Zone for the chosen domain name click “More”.Advanced10

To reset your DNS zone files to the defaults that your hosting provider specifies, perform the following steps:

  1. If this account owns more than one domain, select the domain that you wish to manage from the Domain menu.
  2. Click more.
  3. Select the Are you sure that you wish to erase all of your entries and revert to the default state? checkbox.Advancde22

 Edit a record

To edit a record, perform the following steps:

  1. If this account owns more than one domain, select the domain that you wish to manage from the Domain menu.
  2. Click Edit next to the record that you wish to edit.Advanced32
  3. Change the information in the text boxes as necessary.Edit
  4. Click Edit Record to save your changes, or click Cancel to discard them.Edit10

Delete a record

To delete a record, perform the following steps:

  1. If this account owns more than one domain, select the domain that you wish to manage from the Domain menu.
  2. Click Delete next to the record that you wish to remove.Advanced33
  3. Click Delete.Delete10

To enter DNS records with WHM:

If editing a record to an existing domain/zone

  1. Under DNS FunctionsWHM10

click Edit DNS ZoneWHM20 Select your domain name from the list and click the Edit button. WHM Edit 100 In the image above you will see a read out of all the current records listed for the domain as an example. To add new entries for any domain you might be editing DNS records for, you will scroll down the page a little more to see the following image: WHM110 Here you see the default fields: Name, TTL and then a drop down to select which record you would like to add. Once complete with the information you are adding, you will select Save and the entries will be added to that domain. Email routing will normally stay default to Local Mail Exchanger as this ensures email is routed through the server. Unless you are utilizing 3rd party mail services, only then you will select a different email route such as Remote Mail Exchanger.

Was this article helpful?

Yes (11)
No (1)

We're sorry you didn't find this article very helpful. Please help us improve it by leaving your feedback below.