Page tree
Skip to end of metadata
Go to start of metadata

This document is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 11.46

(Home >> Domains >> Advanced DNS Zone Editor)

Overview

DNS is the component of the Internet which converts human-readable domain names (for example, example.com) into computer-readable IP addresses (for example, 192.0.32.10). DNS does this through DNS zone files that reside on your server and link 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, CNAME, and TXT records.

Reset zone files

Warning:

This feature will erase any modifications you have made to your zone records, either with this feature or with the Simple DNS Zone Editor feature (Home >> Domains >> Simple DNS Zone Editor). It will attempt to save .txt entries. Before you use this feature, be sure to write down any changes that you wish to save.

To reset your DNS zone files to the defaults, perform the following steps:

  1. Click the more link.
  2. Select the checkbox next to Are you sure you want to erase all entries and revert to the default state?
  3. Click Reset Zone File.

Add a record

To add 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 menu.
  2. Enter the name of the record in the Name text box.
  3. Enter the record's time to live in the TTL text box.
    • Time to live specifies how long a particular record should be kept in memory, in seconds, before it should be refreshed.
  4. Select a record type:
    • An A record is the DNS record that is responsible for mapping hostnames to IP addresses. The A record is essential because it allows DNS servers to identify and locate your website and its various services on the Internet. Without an A record, your visitors cannot access your website, FTP servers, or email accounts.

      Remember

      cPanel will configure your DNS records so that visitors will be able to resolve your website and its services (for example, FTP and Email). You should only add A records  when you add a service that cPanel & WHM or your web host does not provide.

      If you wish to add a DNS record that maps hostnames to IPv6 addresses, or an SRV record for a service, use the Paper Lantern theme's Advanced Zone Editor interface (Home >> Domains >> Advanced Zone Editor).

    • CNAME record stands for "canonical name record." This record creates an alias, which allows a server to continue the DNS lookup under the new name.
    • A TXT record is a text record that contains certain information that querying servers will read. These records carry useful data for cPanel's SPF or DKIM email authentication systems. For information about how to set up SPF or DKIM records, read our Email Authentication documentation (Home >> Mail >> Email Authentication).

  5. Enter in the Address, CNAME, or TXT Data of the record.
  6. Click Add A Record.

Edit a record

To edit a record, perform the following steps:

  1. Click the Edit link that corresponds to the record that you wish to edit.
  2. Edit the Name text box as necessary.

  3. Edit the TTL text box as necessary.

  4. Select the appropriate Type as necessary.

  5. Enter the Address, CNAME, or TXT Data as necessary.

  6. Click Edit Record to save your changes.
    • To cancel your changes, click cancel.

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 menu.
  2. Click Delete next to the record that you wish to remove.
  3. Click Delete to confirm that the record should be deleted.