DNS Zone Editor in cPanel
Table of content
The role of the DNS system is to connect domain names and IP addresses. The connection between the domains and the corresponding IP addresses is recorded in text files that have become popular as DNS zone.
The DNS system, following a specified DNS requests protocol, can at any time determine which IP address matches a domain and where (on which DNS server) its zone file is located.
The tools that allow us to manage (create, edit, or delete) domain's DNS records are known as DNS zone editors.
Over the years cPanel has always included DNS editors – certainly many users remember Simple Zone Editor and Advanced Zone Editor.
All those outdated tools are now replaced by a modern, intuitive and very handy Zone Editor, which we will use further in the article.
The new interface of Zone Editor is enabling us to add, edit or remove the following DNS records:
DMARC are text records so that they all can be managed through the
Open cPanel, and in the Domains section click on the Zone Editor link:
All domain names in your hosting account will be listed in the table on the main screen. You can use the search option to manage the records/entries for a specific domain:
For each domain in the list, you can create/edit/delete DNS records by clicking the appropriate text link next to the domain:
- A Record – adding an A Record,
- CNAME Record – adding a CNAME Record,
- MX Record – adding an MX Record.
To refresh the list of domains, click the gear icon and then the Refresh List link:
Manage DNS Zone Records
If you click on Manage link, another interface will show a list of available DNS Records for the selected domain and all of its subdomains:
Depending on the number of subdomains and the type of the created records, this list can be very long. To facilitate the management of DNS records, cPanel developers created a very suitable filter that sorts all records according to their DNS type - if you want to see all CNAME entries click the CNAME filter:
Add a DNS Record
Click on the arrow next to Add Record label to select the type of DNS record:
If you have missed selecting a record type, on the next interface, you will be able to do so from the drop-down menu, as shown in the image below:
- A record - indicates a connection between a domain and an IP address. Records allow DNS servers to identify and find your website on the Internet. Without a correct A record, your website will be invisible for internet users. Add А records only when you add an external service that cPanel & WHM or the hosting company does not provide.
- AAAA record - indicates a connection between the domain and IPv6 addresses.
- CNAME record - creates an alias for another domain name. This is useful, for example, if you specify several CNAME entries to one A record and make it easier for the DNS system to work.
You can not direct a CNAME record to an IP address.
- MX record - allows you to direct the incoming emails of a domain to a specific mail server or to multiple mail servers with different priorities.
- SRV record - provides information about available services on specific ports on your server.
The SRV record must direct to a hostname with A record (or AAAA). You can not direct SRV to CNAME.
- TXT record - contains text information for various services. For example, TXT entries may contain email authentication data (SPF, DKIM or DMARC records).
The TXT record text box does not display a warning when entering an incorrect entry. Make sure you have entered the correct syntax data corresponding to the selected DNS record type.
Click the Add Record button or Cancel.
Edit DNS Records
Click the Edit link next to the record you want to modify:
Edit the information in the text field. Click the Save Record button to save the changes or Cancel:
Delete DNS Records
Click Delete next to the record that you want to remove:
Then click the Continue button to confirm the deletion:
Recovery of the Zone File
Warning: This feature deletes all the modifications you made to the DNS zone. We recommend saving changes before using the feature.
To restore the DNS zone default settings, set by your hosting provider, follow the next steps:
Click the gear icon and then click on the Reset Zone link:
Read the warning message:
Click the Continue button if you want to restore the DNS zone or click Cancel if you want to get back to the management interface.
If you experience any difficulties with the management of your DNS records, don't hesitate to contact us for further assistance.