Managing DNS (Domain Name System) zone records is crucial for directing traffic to your website, email servers, and other services. cPanel provides a user-friendly interface to manage these DNS records easily. This article will guide you through the process of managing DNS zone records for your domain in cPanel.

Important notes:

  • Incorrect changes to the DNS zone may cause the domain name or services related to it (website, emails and others) to become unavailable or to no longer work correctly. Please edit these records carefully and don't hesitate to contact our support team if you need help.
  • Some DNS records may already exist and may require to be edited only. It's recommended to check first if a DNS record is already available before adding a new one.
    • This often applies to SPF records, DKIM records, A or AAAA records of the root domain (e.g. yourdomain.tld), and the CNAME record of the "www" sub-domain (e.g. www.yourdomain.tld).

Accessing the DNS Zone Editor

  1. Open cPanel:

  2. Locate the Zone Editor:

    • In the Domains section, click on Zone Editor:

      cPanel - Domains - Zone Editor

  3. Select Your Domain:

    • Find the domain you wish to authenticate and click on the "Manage" button:

      cPanel - Zone Editor - Manage

Types of DNS Records

Common DNS Record Types

  1. A Record: Maps a domain to an IPv4 address.
  2. AAAA Record: Maps a domain to an IPv6 address.
  3. CAA Record: Defines which Certificate Authorities (CAs) are allowed to issue SSL certificates.
  4. CNAME Record: Aliases one domain name to another.
  5. DMARC Record: Tells receiving mail servers what action to take for unauthenticated emails they get from your domain.
  6. MX Record: Tells to which email server(s) to direct emails.
  7. SRV Record: Specifies services available in the domain. 
  8. TXT Record: Holds arbitrary text data, often used for verification and security.

Managing DNS Records

Adding a DNS Record

  1. Add the CNAME Records:

    • Click on the drop-down arrow of the "+ Add Record" button:

  1. Add an A (for IPv4) or AAAA (for IPv6) Record:

    • Click on the  + Add Record.
    • Select A Record or AAAA Record from the drop-down menu.
    • Enter the Name (e.g., www or subdomain), the TTL (Time to Live), and the Address (IPv4 or IPv6 address).
    • Click Add Record to save.
  2. Add a CAA Record:

    • Click + Add Record and select CAA Record.
    • Enter the Name (your domain name) and the TTL
    • Select the Issuer Critical Flag:
      • Whether the certificate authority (CA) will issue an SSL certificate if the CAA Resource Record contains unknown property tags.
        • 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.
      • If set to "1", the certificate issuer must understand the tag in order to correctly process the CAA record.
      • For more information about CAA record flags, read the RFC 6844 documentation.
    • Select the Tag, which is the type of CAA record that this DNS entry represents.
      • The issue and issuewild values represent the certificate authority’s domain name.
        • Enter the certificate authority's (CA) domain name in the Value input field.
          • For example, letsencrypt.org for Let's Encrypt or sectigo.com for Sectigo.
      • The iodef value is the location to which the authority reports exceptions.
        • Enter the location to which the certificate authority will report exceptions in the Value input field (either a mailto or standard URL).
    • Click Add Record to save.
  3. Add a CNAME Record:

    • Click + Add Record and select CNAME Record.
    • Enter the Name (the alias), the TTL, and the CNAME (canonical name).
    • Click Add Record to save.
  4. Add a DMARC Record:

    • Click + Add Record and select DMARC Record.
    • Select the Policy (for the root domain)
    • Under Optional Parameters, select the Subdomain Policy for sub-domains.
    • Click Add Record to save.
  5. Add an MX Record:

    • Click + Add Record and select MX Record.
    • Enter the Priority, the Destination, and adjust the TTL if necessary.
    • Click Add Record to save.
  6. Add a TXT Record:

    • Click + Add Record and select TXT Record.
    • Enter the Name, the TTL, and the Record (text data).
    • Click Add Record to save.

Editing a DNS Record

Some types of DNS records can only be added once and may already exist, so editing them is necessary instead of adding a new record.

  1. Locate the Record:

    • In the Zone Editor, scroll to find the record you wish to edit or use the search field to filter records.



    • Click Edit next to the record:



  2. Make Changes:

    • Modify the Name, TTL, or other relevant fields.
    • Click Save Record to apply the changes:



Deleting a DNS Record

  1. Locate the Record:

    • In the Zone Editor, scroll to find the record you wish to edit or use the search field to filter records (see the above screenshot).
    • Click Delete next to the record:



  2. Confirm Deletion:

    • A confirmation prompt will appear. Click Delete to confirm and remove the record.

Tips for Managing DNS Records

  • Propagation Time: DNS changes can take up to 24 hours to propagate globally, but usually, it happens within a few hours.
  • Record Accuracy: Ensure all records are accurately entered to avoid downtime or misdirected traffic.
  • Backup: Before making significant changes, consider taking a screenshot or noting down the current DNS settings.
  • TTL Settings: Lower TTL values can help speed up propagation for changes, but higher TTL values reduce the load on the DNS servers.

Conclusion

Managing DNS zone records in cPanel is straightforward with the Zone Editor. By following this guide, you can efficiently add, edit, and delete DNS records to ensure your domain name functions correctly. For more detailed information or assistance, refer to the official cPanel documentation:

You can find other similar articles for setting up or verifying your domain name for specific third-party services, such as Squarespace, MailChimp, Google Workspace, etc. in the DNS category of our knowledgebase: https://my.maxer.com/knowledgebase/4/Domains-or-DNS

If you are not sure how to manage the DNS records, please contact our support team for assistance.

Updated by SP on 31/05/2024

Was this answer helpful? 0 Users Found This Useful (0 Votes)