Zone Editor
Overview
DNS (Domain Name System) converts human-readable domain names (for example, example.com) to computer-readable IP addresses (for example, 192.0.0.1). DNS relies on zone records that exist on your server to map domain names to IP addresses.
Several different types of records reside in a domain’s zone file. This feature allows you to create, edit, and delete the following records:
- A
- AAAA
- CAA (Certificate Authority Authorization Record)
- CNAME (Canonical Name Record)
- DMARC (Domain-based Message Authentication, Reporting, and Conformance)
- MX (Mail Exchanger)
- SRV (Service Record)
- TXT (Text Record)
Note:
To access all available zone record types and records that the system automatically generated, your systems administrator must enable the following features in WHM’s Feature Manager interface (WHM >> Home >> Packages >> Feature Manager):
- Zone Editor (A, CNAME)
- Zone Editor (AAAA, CAA, SRV, TXT)
Domains
This interface displays your account’s domains. For each domain in the list, you can perform some actions directly. Click the text to perform that action.
- A Record — Add an A record for this domain.
- CNAME Record — Add a CNAME record for this domain.
- MX Record — Add an MX record for this domain.
- DNSSEC Record — Manage DNSSEC (Domain Name System Security Extensions) for this domain.
- Manage — Add or edit additional records for this domain.
To refresh the list of domains, click the gear icon and select Refresh List.
Manage Zone
This interface displays the zone records for the selected domain. To filter the list of zone records, enter a name in the text box or select one of the record type filters.
Add a record
To add a record, perform the following steps:
- Click Manage next to the domain that you wish to modify.
- Click the arrow next to Add Record to select a record type:
- Add A Record — This record maps hostnames to IP addresses. A records allow DNS servers to identify and locate your website and its various services on the Internet. Without appropriate A records, your visitors cannot access your website, FTP site, or email accounts.
- Add AAAA Record — This record maps hostnames to IPv6 addresses.
- Add CAA Record — This record allows you to specify which certificate authority (CA) will issue an SSL certificate for a domain.
Click to view CAA record parameters...
- Flag — Whether the CA will issue an SSL certificate if the CAA Resource Record contains unknown property tags. For more information about CAA record flags, read the RFC 6844 Documentation.
- 0 — Non-critical. The CA will issue an SSL certificate if the CAA Resource Record contains unknown property tags.
- 1 — Critical. The CA will not issue an SSL certificate if the CAA Resource Record contains unknown property tags.
- Tag — The CAA record’s property type.
- issue — Authorize a CA to issue a certificate for the domain.
- issuewild — Authorize a CA to issue a wildcard certificate for the domain.
- iodef — Specify a URL to which a CA may report policy violations.
- Value — The CA’s domain, or the CA’s URL if you select the iodef element.
- A valid SSL provider.
- A mailto URL or standard URL
- Flag — Whether the CA will issue an SSL certificate if the CAA Resource Record contains unknown property tags. For more information about CAA record flags, read the RFC 6844 Documentation.
Note:
If no CAA records exist for a domain, all CAs can issue certificates for that domain. If conflicting CAA records already exist, remove the existing CAA records or add one for the desired CA.
For example, a CAA record for Sectigo would resemble the following example, where example.com represents the domain name:
example.com. 86400 IN CAA 0 issue "sectigoca.com"
- Add CNAME Record — This record creates an alias for another domain name, which DNS looks up. This is useful, for example, if you point multiple CNAME records to a single A record in order to simplify DNS maintenance.
Note:
You cannot point a CNAME record to an IP address.
- Add DMARC Record — This record indicates the action for a mail server to take when it receives mail from this domain, but that message fails SPF and DKIM checks. If you select this option, the system creates a TXT record with a default DMARC record. The system also displays a form that allows you to specify the domain’s DMARC policy (None, Quarantine, or Reject), as well as the following optional parameters:
Click to view the DMARC parameters...
- Subdomain Policy — The action that the recipient’s mail server should perform when it receives mail from a subdomain of this domain, but that message fails SPF and DKIM checks.
- None — Do not perform any action for spam email messages.
- Quarantine — Send spam email messages to a different folder on the account.
- Reject — Reject spam email messages.
- DKIM Mode — The DomainKeys Identified Mail (DKIM) level that the system will enforce for the domain.
- Relaxed — The system allows some email messages from domains that it does not recognize.
- Strict — The system rejects all email messages from domains that it does not recognize.
- SPF Mode — The Sender Policy Framework (SPF) level that the system will enforce for the domain.
- Percentage — The percentage of email messages that you wish for the system to filter.
- Generate Failure Reports When — The error reporting policy between the sender and receiver’s Mail Transfer Agents.
- Report Format — The format that the system uses to report an email message’s possible spam status.
- Report Interval — The amount of time, in seconds, that elapse between each aggregate email message report.
- Subdomain Policy — The action that the recipient’s mail server should perform when it receives mail from a subdomain of this domain, but that message fails SPF and DKIM checks.
Note:
- This parameter’s value defaults to 86400.
- This value does not include email failure messages.
- Send Aggregate Mail Reports To — A comma-delimited list of URIs to which to send aggregate email message reports. To add a size limit for the report, affix an exclamation point, a number, and a file size multiplier to the end of the URI. You can specify the following size multipliers:
- k — Kilobytes.
- m — Megabytes.
- g — Gigabytes.
- t — Terabytes.
- Send Failure Reports To — A comma-delimited list of URIs to which to send failure email message reports.
- Add MX Record — This record allows you to route a domain’s incoming mail to a specific server. Changes that you make to a domain’s MX (Mail Exchanger) control where the system delivers email for a domain.
- Add SRV Record — This record provides information about available services on specific ports on your server.
Click to view the SRV parameters...
- Priority — The service record’s priority value.
- Weight — The system uses this value to rank entries with the same priority value.
- Port — The target host’s port.
Note:
For a complete list of ports, read our How to Configure Your Firewall for cPanel & WHM Services documentation.
- Target — The service’s target host.
- Add TXT Record — This record contains text information for various services to read. For example, TXT records can specify data for the SPF, DKIM, or DMARC email authentication systems. Click the links below to view examples of each TXT record:
v=spf1 +a +mx +ip4:10.215.218.151 ~all
v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA14CK7pzW3Q4NHyJv/NIUG2vxuW8cDLnrQyjnpf0XQCHkFMnBdampzVG/T15U4P7W3YKImR6aF+QhM6WRZdXaOQqdkkkGc+VdYnH415ZikqSvfwSQ+n2fdIEVHvOkLyl/qSQkNhijtz48qb874keiYimo9Gsdg7mlhURImqPlL9zsGFcBpogmW00bnwmeiyeFbBY+d0QJRAelECpIbdWQfiCq1tUMm1pMGI5GHmnJVs3ToPvRoH2J4SQpOO91smkwaQPEEdLVXTMpLuKcvOOjotwzeVX5A4RBfuAaKjk7z0xdkTnsDivFJSqqNBLtT0v8cv6JjDgWZ8pYKBC65mdWxwIDAQAB;
v=DMARC1;p=none;rua=mailto:user@example.com
- Enter the appropriate information for the record type that you selected.
- Click Add Record.
Note:
Use cPanel’s Email Deliverability interface (cPanel >> Home >> Email >> Email Deliverability) to manage SPF and DKIM records.
Edit a record
To edit a record, perform the following steps:
- Click Manage next to the domain you want to modify.
- Click Edit next to the record that you wish to edit.
- Change the information in the text boxes as necessary.
- Click Edit Record to save your changes, or click Cancel to discard them.
Delete a record
To delete a record, perform the following steps:
- Click Manage next to the domain you want to modify.
- Click Delete next to the record that you wish to remove.
- Click Delete in the confirmation dialog box.
Reset zone files
Important:
- This feature erases any modifications that you made to your zone records. The system attempts to save the domain’s TXT entries. We recommend that you record any changes that you wish to save before you use this feature.
- To reset your DNS zone files, your systems administrator must enable the following features in WHM’s Feature Manager interface (WHM >> Home >> Packages >> Feature Manager):
- Zone Editor (A, CNAME)
- Zone Editor (AAAA, CAA, SRV, TXT)
To reset your DNS zone files to the defaults that your hosting provider specifies, perform the following steps:
- If this account owns more than one domain, click Manage next to the domain that you wish to reset.
- Click the gear icon and select Reset Zone.
- Read the warning about the consequences.
- Click Continue to reset your zone, or Cancel to return to the Manage Zone interface.
DNSSEC
DNSSEC can protect clients from various forms of attack, such as spoofing or a Man-in-the-Middle attack. A DNS resolver will compare the DNS server’s DNSKEY record to the DS record at the registrar. If they match, then the DNS resolver knows that the record is valid.
DNSSEC uses digital signatures to strengthen DNS authentication. These digital signatures use public key cryptography to sign the DNS data. However, these digital signatures do not sign the DNS queries and responses.
In the Zone Editor interface, click DNSSEC in a domain’s row to display the DNSSEC interface.
For more information about DNSSEC, read our DNSSEC documentation.
Important:
If you transfer the account to another server, you must remove the Domain Server (DS) records from the registrar before you transfer the domain.
To transfer an account with DNSSEC enabled domains, perform the following steps for each domain:
- Remove the DS records from the registrar.
- Wait for the changes to propagate. This may take up to 72 hours.
- Perform the transfer.
- Manually update the registrar with the new DS records.
If you do not remove the old DS records from the registrar, the domains may produce DNS resolution issues due to invalid DNSSEC responses.
Create a DNSSEC key
Quick DNSSEC key creation
To quickly create a pair of DNSSEC keys that most registrars will accept, perform the following steps:
- Click Create Key. A confirmation message will appear.
- Click Create. The DS Records interface will appear with the keys’ details.
Custom DNSSEC key creation
If you wish to create a customized key with a stronger algorithm, perform the following steps:
- Click Create. A confirmation window will appear.
- Click Customize. The Create DNSSEC Keys interface will appear.
- Select the desired key setup for the DNSSEC key: