> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Using the DNS Zone Editor in cPanel

> Master cPanel's Zone Editor to manage DNS records, including adding, editing, and deleting CNAME and TXT records.

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](https://en.wikipedia.org/wiki/Sender_Policy_Framework) ) or DKIM ( [DomainKeys Identified Mail](https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail) ) settings.

<Warning>
  **️ Warning**

  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.
</Warning>

## 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. Log in to cPanel.
   > 📘 Note
   >
   > If you do not know how to log in to your cPanel account, please see [this article](/docs/accessing-cpanel).

2. On the **Tools** page, in the **Domains** section, click **Zone Editor**:\
   ![](https://static.hosting.com/kb/kb-cpanel-jupiter-zone-editor-icon.png)

3. Under **Domains**, locate the domain for which you want to add a record, and then click **Manage**:\
   ![](https://static.hosting.com/kb/kb-cpanel-domains-zone-editor-manage-domain.png)

4. Next to **Add Record**, click the down arrow, and then click the type of record you want to add:\
   ![](https://static.hosting.com/kb/kb-cpanel-domains-zone-editor-add-record.png)

5. In the **Name** text box, type the fully-qualified domain name (FQDN) for the record.

6. In the **TTL** text box, type the time-to-live value in seconds.

   > 📘 Note
   >
   > If you are unsure of the value to specify, type **14400** , which is four hours.

7. Confirm that the **Type** list box contains the type of record that you want to add.

8. In the **Record** text box, type the value for the record.

   > 📘 Note
   >
   > * 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.

9. Click **Add Record**. cPanel adds the record.

### Editing a record

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

1. Log in to cPanel.
   > 📘 Note
   >
   > If you do not know how to log in to your cPanel account, please see [this article](/docs/accessing-cpanel).

2. On the **Tools** page, in the **Domains** section, click **Zone Editor**:\
   ![](https://static.hosting.com/kb/kb-cpanel-jupiter-zone-editor-icon.png)

3. Under **Domains**, locate the domain for which you want to add a record, and then click **Manage**:\
   ![](https://static.hosting.com/kb/kb-cpanel-domains-zone-editor-manage-domain.png)

4. Locate the record you want to edit, and then under **Actions**, click **Edit**:\
   ![](https://static.hosting.com/kb/kb-cpanel-domains-zone-editor-edit-record.png)

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

   > ❗️ Warning
   >
   > Be careful! Modifying some types of 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. Log in to cPanel.
   > 📘 Note
   >
   > If you do not know how to log in to your cPanel account, please see [this article](/docs/accessing-cpanel).

2. On the **Tools** page, in the **Domains** section, click **Zone Editor**:\
   ![](https://static.hosting.com/kb/kb-cpanel-jupiter-zone-editor-icon.png)

3. Under **Domains**, locate the domain for which you want to add a record, and then click **Manage**:\
   ![](https://static.hosting.com/kb/kb-cpanel-domains-zone-editor-manage-domain.png)

4. Locate the record you want to delete, and then under **Actions**, click **Delete**:\
   ![](https://static.hosting.com/kb/kb-cpanel-domains-zone-editor-delete-record.png)

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

   > ❗️ Warning
   >
   > Be careful! Deleting some types of 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](https://en.wikipedia.org/wiki/Domain_Name_System).

## Related articles

* [Managing cPanel Mail Exchanger (MX) records](/docs/mail-exchanger-mx-record-entry)

* [Subdomains](/docs/subdomains)

* [Redirects](/docs/redirects)

* [Accessing cPanel](/docs/accessing-cpanel)
