Zone Editor
The Zone Editor feature in cPanel lets you create, edit, and delete Domain Name System (DNS) records. DNS translates human-readable domain names (such as example.com) into IP addresses that computers understand, based on the zone records stored on the hosting server.
Zone Editor records only take effect if your domain's name servers point to the hosting name servers listed in your account activation message. If your domain uses another provider's name servers, add the records with that provider. See How to manage DNS records.
Domains
By default, the Zone Editor interface shows a list of your domains and their DNS records. You can filter the list by entering a name in the search box or selecting a specific record type.
For each listed domain, you can:
- A record: create a new A record. Enter a valid DNS domain name and an IPv4 address, then click Add an A Record.
- CNAME record: create a new CNAME record. Enter a name and a fully qualified domain name (FQDN), then click Add a CNAME Record.
- MX record: create a new MX record. Enter a priority value and an FQDN destination, then click Add an MX Record.
- DNSSEC: manage the domain's DNSSEC records. This option takes you to the DNSSEC interface.
- Manage: add or edit other records. This option takes you to the zone management interface.
To refresh the domain list, click the gear icon and choose Refresh List.
Manage a zone
The zone management interface shows the DNS records for the selected domain, which you can filter by name or type. The records table contains: Name, TTL, Type, Record (its details), and Actions (edit or delete).
From this interface you can also add or edit a DNS record, delete a record, or reset the zone files.
The record types available depend on the features enabled for your account ("Zone Editor (A, CNAME)" and "Zone Editor (AAAA, CAA, SRV, TXT)"). If you can't find the record type you need, open a support ticket.
Add a DNS record
Click Manage next to the domain you want.
Click Add Record, or the arrow icon next to it, and choose the record type you need.
To add a record for a subdomain, enter its full name in the name field. For example, to add a CNAME record for the subdomain shop, enter shop.example.com.
Enter the record information.
Click Save Record or Save All Records, or Cancel.
Edit a DNS record
Click Manage next to the domain you want.
Click Edit next to the record or records you want.
Update the information in the fields.
Click Save Record or Save All Records to save your changes, or Cancel.
DNS record types
- A: an IPv4 address record that maps host names to IPv4 addresses. Without it, visitors can't reach your website, FTP, or email. Name: a new or existing domain name (the system appends the domain name automatically). Address: the domain's IP address.
- AAAA: like an A record, but maps to IPv6 addresses.
- ALIAS: creates an alias for another domain (also known as an ANAME record). It only appears if it's enabled on the server.
This record type is experimental and not RFC-compliant, and it can cause unexpected behavior, including security issues, broken DNSSEC, and an unreachable website. We strongly recommend that you don't use it.
-
CAA: controls which certificate authorities (CAs) can issue SSL certificates for your domain. If there are no CAA records, any CA can issue a certificate. Flag (critical issuer flag): decides whether a CA issues a certificate despite properties it doesn't understand (0 = non-critical, it issues anyway; 128 = critical, it won't issue). Tag:
issueto allow a standard certificate,issuewildfor a wildcard certificate,iodefto set a URL for reporting policy violations. Value: the CA's domain or the reporting URL. -
CNAME: a canonical name (alias) for another domain that DNS resolves. It's useful, for example, for pointing several CNAME records to a single A record to simplify maintenance. Name: the new or existing domain name. Record: a fully qualified domain name (it can't point to an IP address).
-
DMARC: defines what a mail server does when it receives a message that fails SPF and DKIM checks. The system creates a TXT record with a default DMARC value, with a form for setting the policy (none, quarantine, or reject) and extra options such as the subdomain policy, DKIM and SPF alignment (relaxed or strict), the percentage of messages filtered, the failure reporting policy, the report format and interval, and the addresses that receive aggregate and failure reports.
-
MX: defines the servers that handle the domain's email. Priority: the lower the value, the higher the priority (0 = highest). Destination: the mail server's name (FQDN).
-
SRV: provides information about services available on specific ports on your server. Priority: the lower the value, the higher the priority. Weight: orders records with equal priority. Port: the target service's port number. Target: the target service's host name.
-
TXT: contains text data for various services, such as SPF, DKIM, and DMARC data. You can also manage SPF and DKIM records from the Email Deliverability interface in cPanel, which is easier because it suggests the correct values for your account. See Email DNS records.
The record field accepts invalid data without validating it; make sure the information you enter is correct.
Delete a DNS record
Click Manage next to the domain you want.
Click Delete next to the record you want.
Click Continue in the confirmation dialog to delete the record, or Cancel.
Reset the zone files
This function erases any changes you have made to your zone's records (the system tries to preserve TXT records). We recommend writing down any changes you want to keep before using it.
This feature requires the "Zone Editor (A, CNAME)" and "Zone Editor (AAAA, CAA, SRV, TXT)" features to be enabled for your account.
Click Manage next to the domain you want to reset.
Click Actions and choose Reset DNS Zone.
Click Continue to reset, or Cancel.
DNSSEC
The DNSSEC interface lets you manage your domain's DNSSEC keys. This technology helps protect you from attacks such as spoofing or man-in-the-middle attacks: a DNS resolver compares the DNSKEY record on your server with the Delegation Signer (DS) record at your domain registrar, and if they match, the resolver considers the record valid. DNSSEC uses digital signatures to strengthen DNS authentication, but it doesn't sign the DNS queries and responses themselves.
When you move the account to another server, you must remove the DS records from the registrar before the move, otherwise the domains may have DNS resolution problems because of invalid DNSSEC responses. Steps for the move: remove the DS records from the registrar, wait for the changes to propagate (this can take up to 72 hours), carry out the move, then manually update the registrar with the new DS records.
DNSSEC keys table
If you deactivate or delete a DNSSEC key, you must remove the DS record at your domain registrar.
For each key, the table shows: Algorithm, Status (active/inactive), Activate/Deactivate options (deactivating doesn't delete the key), Delete, and a view of the Public DNSKEY. It also shows the Key Tag, Key Type (ZSK, CSK, or KSK), Algorithm, and Created date.
The interface shows a recommendation for when to rotate a DNSSEC key when needed.
For each key, you can also View DS Records or Export the key.
Create a key
When you create a DNSSEC key for a domain, you must also set up a DS record at your domain registrar.
Quick create: click Create Key, then Create to confirm; the DS records interface appears with the new key's details.
Custom create (for a stronger algorithm):
Click Create, then Customize.
Choose the key setup: Classic to create separate ZSK and KSK keys, or Simple to create a CSK that serves as both.
Choose the algorithm you want (incompatible algorithms are disabled automatically).
Choose whether to activate the new key immediately.
Click Create Key.
You can check your domain's DNSSEC setup with public DNSSEC checking tools, such as Verisign's DNSSEC Analyzer. To learn about the concept, see What is DNSSEC?
Import a DNSSEC key
Click Import Key.
Choose the key type: ZSK or KSK.
Enter the key information.
Click Import.
Export a DNSSEC key
The export interface shows: Domain, Key Tag, Key Type, and the key itself (with a Copy button).
Public DNSKEY
This interface shows the domain and its public DNSKEY record.
DS records
When you click View DS Records for a key, the interface shows: the domain, key tag, algorithm, creation date, and a list of the available digests, with each digest's type and information.
To add a DS record at your domain registrar: identify the digest type your registrar uses, click Copy for the matching digest, then add the required information on the registrar's website.
Delete a DNSSEC key
Before deleting a DNSSEC key in cPanel & WHM, you must remove or disable the DS record at your domain registrar, then wait at least 24 hours for the change to propagate before deleting the key.
How is this guide?