For cPanel & WHM version 66.
(Home >> DNS Functions >> Edit DNS Zone)
This feature allows you to edit the records in a domain’s DNS zone file.
- You must configure your DNS records correctly to allow visitors to access the domains.
- DNS zones that reside on other Write-only DNS servers in a DNS cluster do not appear in this interface.
To edit a DNS zone or view zone information, select the desired domain from the Choose a Zone to Edit menu and c lick Edit . A new interface will appear.
Zone and server information
The top of the Edit DNS Zone interface displays the following zone and server information:
- cPanel first — The cPanel & WHM version and build number on which you created the DNS zone.
- update_time — The Unix date and time of the last update to the zone file.
- Cpanel::ZoneFile::VERSION — The zone file version that cPanel & WHM uses.
- hostname — The server's hostname.
- latest — The current cPanel & WHM version on the server.
- Zone file for — The DNS zone's domain.
- $TTL — The default time to live (TTL), in seconds. This value specifies how long clients cache DNS zone data.
Edit DNS Zone
The Edit DNS Zone interface displays a table of the domain's DNS entries in the following columns:
- Domain — The domain name.
- TTL — The DNS entry's TTL.
- Record Type — The DNS record type.
You must set the Class value to
IN for each DNS zone.
The following table lists the most common DNS record types:
|SOA||Start of Authority record.|
Contains authoritative information. Authoritative information includes the following information:
|NS||Nameserver record.||Identifies a domain's authoritative DNS servers.|
|A||IPv4 address record.||Matches a domain name to an IPv4 address.|
|AAAA||IPv6 address record.||Matches a domain name to an IPv6 address.|
|MX||Mail Exchange record.|
Identifies the servers that handle mail for a domain. A preference number for each MX record determines in which order other mail servers use a domain's mail servers.
A lower preference number indicates a higher priority. A preference number of
|CNAME||Canonical name record.|
Matches a domain name to an alias.
|CAA||Certificate Authority (CA) Authentication record.|
Controls which CAs can issue SSL certificates for a domain.
Use the empty text boxes below the Add New Entries Below this Line heading to add new entries to the DNS zone.
You must configure your DNS records correctly to allow visitors to access the domains.
After you enter the desired information, click Save.
If you change the IP address of the domain's A record, your mail server's IPv4 address also automatically changes. This occurs because the standard zone template uses a CNAME record to point the mail server to the domain's A record.
To assign a different IPv4 address to the mail server, perform the following steps:
Change the MX record value to
$domain.represents the domain. For example, change
You must include the trailing period after
- Select CNAME from the Record Type menu.
- Click Save.
To change the zone template so that all new domains create MX records that assign your mail server a different IP address, use WHM's Edit Zone Templates interface ( Home >> DNS Functions >> Edit Zone Templates ).