How to Add and Edit DNS Records in cPanel

Estimated reading: 2 minutes

Overview

DNS records tell the internet where to send traffic for your domain — whether that’s your website, your email, or other services. cPanel includes a Zone Editor that lets you view and manage your domain’s DNS records without needing to contact support.

You will need to edit DNS records when:

  • Connecting your domain to a third-party service (Google Workspace, Mailgun, etc.)
  • Verifying domain ownership
  • Setting up SPF, DKIM, or DMARC records for email
  • Adding a CNAME for a subdomain

How to Access the DNS Zone Editor

  1. Log in to your cPanel account.
  2. In the Domains section, click Zone Editor.
  3. Find your domain in the list and click Manage.

You will see all existing DNS records for your domain here.

How to Add a New DNS Record

  1. In the Zone Editor, click + Add Record.
  2. Select the record type from the dropdown (see types below).
  3. Fill in the Name, TTL, and Record (value) fields.
  4. Click Save Record.

Common DNS Record Types

TypePurposeExample
APoints a domain/subdomain to an IP addressyourdomain.com → 192.0.2.1
CNAMEPoints a subdomain to another domain namewww → yourdomain.com
MXDefines which server handles email for the domainmail.yourdomain.com priority 0
TXTStores text data (SPF, DKIM, DMARC, verification)v=spf1 include:... ~all
AAAAPoints a domain to an IPv6 addressyourdomain.com → 2001:db8::1

How to Edit an Existing DNS Record

  1. In the Zone Editor, find the record you want to change.
  2. Click Edit next to it.
  3. Update the value and click Save Record.

How to Delete a DNS Record

  1. Find the record you want to remove.
  2. Click Delete and confirm.

⚠️ Warning: Deleting the wrong DNS record (like your A record or MX record) can take your website or email offline. If you are unsure, take note of the existing values before making changes.

DNS Propagation

After making changes, DNS updates can take up to 24–48 hours to propagate worldwide, although most changes take effect within a few hours. See our guide on DNS Propagation Explained for more details.

Need help with a specific DNS record? Open a support ticket.