Knowledge Base

How to use the DNS Zone Editor in cPanel

This article describes how to use the Zone Editor in cPanel to manage custom DNS records.

About DNS records

A DNS (Domain Name System) name server stores DNS records for a domain name. There are many types of DNS records, but some of the most common are:

  • A records: An A record associates a domain name (such as example.com) with an IP address (such as 104.218.15.162).
  • CNAME records: CNAME (canonical name) records define aliases by associating one domain name with another. For example, you could create a CNAME record for mail.example.com associated with example.com. When a DNS lookup for mail.example.com occurs, it receives in response the associated example.com domain, and subsequently performs a lookup on its A record. CNAME records enable you to define multiple domains without having to specify an IP address for each one.
  • TXT records: TXT records can contain any arbitrary text data. They are often used to define SPF (Sender Policy Framework) or DKIM (DomainKeys Identified Mail) settings.
Only advanced users should modify DNS records. Misconfigured DNS records can make a web site inaccessible, prevent e-mail from working correctly, or cause other unintended side effects.

Using the Zone Editor in cPanel

To configure DNS records for your domain, cPanel provides a Zone Editor. The Zone Editor enables you to quickly and easily change DNS records for your domain or domains.

Adding a record

To add a record using the Zone Editor, follow these steps:

  1. In the DOMAINS section of the cPanel home screen, click Zone Editor:

    cPanel - Domains - Zone Editor icon

  2. Under Domains, locate the domain for which you want to add a record, and then click Manage:

    cPanel - Zone Editor - Manage domain

  3. Next to Add Record, click the down arrow, and then click the type of record you want to add:

    cPanel - Zone Editor - Add record

  4. In the Name text box, type the fully-qualified domain name (FQDN) for the record.
  5. In the TTL text box, type the time-to-live value in seconds.

    If you are unsure of the value to specify, type 14400, which is four hours.
  6. Confirm that the Type list box contains the type of record that you want to add.
  7. In the Record text box, type the value for the record.

    • If you are adding an A record, type the IP address to associate with the domain name that you selected in step 2.
    • If you are adding a CNAME record, type the associated canonical name for the domain name that you selected in step 2.
    • If you are adding a TXT record, type the data for the TXT record.
  8. Click Add Record. cPanel adds the record.
Editing a record

To edit a record using the Zone Editor, follow these steps:

  1. In the DOMAINS section of the cPanel home screen, click Zone Editor:

    cPanel - Domains - Zone Editor icon

  2. Under Domains, locate the domain for which you want to add a record, and then click Manage:

    cPanel - Zone Editor - Manage domain

  3. Locate the record you want to edit, and then under Actions, click Edit:

    cPanel - Zone Editor - Edit record

  4. Modify the value or values you want to change, and then click Save Record. cPanel updates the record.

    Be careful! Modifying certain records can make your web site inaccessible, prevent e-mail from working correctly, or cause other unintended side effects.
Deleting a record

To delete a record using the Zone Editor, follow these steps:

  1. In the DOMAINS section of the cPanel home screen, click Zone Editor:

    cPanel - Domains - Zone Editor icon

  2. Under Domains, locate the domain for which you want to add a record, and then click Manage:

    cPanel - Zone Editor - Manage domain

  3. Locate the record you want to delete, and then under Actions, click Delete:

    cPanel - Zone Editor - Delete record

  4. At the Confirm Deletion prompt, click Continue. cPanel deletes the record.

    Be careful! Deleting certain records can make your web site inaccessible, prevent e-mail from working correctly, or cause other unintended side effects.

More Information

For general information about DNS, please visit http://en.wikipedia.org/wiki/Domain_Name_System.