The DNS Zone Editor in cPanel allows you to manage custom DNS records for a domain. Through this interface, you can add, modifier, and delete records that control how services such as websites and email are routed.
Understanding DNS record types
A DNS zone contains multiple record types. The most commonly managed records include:
- A records associate a hostname with an IPv4 address.
- CNAME records create aliases that point one hostname to another hostname.
- TXT records store text values and are commonly used for email authentication mechanisms such as SPF and DKIM.
Improper DNS configuration can disrupt website access or email delivery, so changes should be made carefully.
Accessing the Zone Editor
- Connectez-vous à cPanel.
- Ouvrez le Outils page.
- Dans le Domaines section, cliquez Editeur de zones.
- Locate the target domain and click Gérer.
[Espace réservé pour la capture d'écran: cPanel Zone Editor domain list]
Adding a DNS record
- In the domain management view, click the arrow next to Add Record.
- Select the record type you want to add.
- Enter the fully qualified domain name in the Name field.
- Set the Durée de vie value. If unsure, utiliser
14400. - Confirm the correct record type is selected.
- Enter the record value:
- Pour A records, enter an IP address.
- Pour CNAME records, enter the canonical hostname.
- Pour TXT records, enter the required text value.
- Cliquez Add Record.
[Espace réservé pour la capture d'écran: Add DNS record form]
Editing a DNS record
- Ouvrir Editeur de zones et cliquez Gérer pour le domaine.
- Locate the record to change.
- Cliquez Modifier.
- Modify the required fields.
- Cliquez Save Record.
[Espace réservé pour la capture d'écran: Edit DNS record action]
Changes take effect after DNS propagation, which may take several hours.
Deleting a DNS record
- Ouvrir Editeur de zones and manage the domain.
- Locate the record to remove.
- Cliquez Supprimer.
- Confirm the deletion.
[Espace réservé pour la capture d'écran: Delete DNS record confirmation]
Removing essential records can cause service outages. Verify the impact before deleting any record.
Common use cases
- Connecting domains to services hosted on serveurs cloud
- Configuring email authentication when using external mail providers instead of Hébergement cPanel mail services
- Preparing domains for deployment on a serveur dédié