Opens in a new tab

How to add DNS records in cPanel’s Zone Editor

Many web hosts run your DNS through cPanel. Records go in Domains → Zone Editor — but only matter if your domain actually uses the host’s nameservers. If they point at Cloudflare or your registrar, the Zone Editor changes nothing the world sees.

Name fieldThe domain is added for you; a full name ends with a dot
SPF and DKIMEmail → Email Deliverability
Alias at the rootALIAS exists, but cPanel advises against it
DNSSECZone Editor → DNSSEC, then DS at the registrar
NameserversYour web host’s own

Where the DNS records are

In cPanel, open Domains → Zone Editor, select Manage next to the domain, and use Add Record. Your host may have hidden the Zone Editor; if so, its support team adds records for you.

SPF, DKIM and reverse DNS have their own screen, Email → Email Deliverability, which checks them and can repair them — but only when your server is the domain’s DNS.

What to type in the name field

cPanel completes what you type: a zone named “user” becomes user.example.com. Its own example of a full name ends with a dot (www.example.com.), which marks it complete; without the dot, check the name the Zone Editor shows before saving.

You were given a record forType in the name field
The domain itself — SPF, verification codes, MXexample.com. (your domain, with a final dot)
DMARC_dmarc
A DKIM key (selector s1, for example)s1._domainkey
A subdomain such as www or mailwww

Adding a record

  1. Open Domains → Zone Editor and select Manage next to the domain.
  2. Select Add Record and choose the type.
  3. Enter the name as in the table above, and the value — the record box accepts anything, so check it carefully.
  4. Select Save Record.
  5. Check that your domain’s nameservers really are the host’s (the host finder on our DNS hosts page tells you).

Check the record you just added

Enter the full name — _dmarc.yourdomain.com, s1._domainkey.yourdomain.com — and the type. If it answers, it is published; if it is not there yet, try again after a few minutes.

TXT records and long DKIM keys

cPanel’s documentation does not say how it treats TXT values over 255 characters. Paste the value as given, then look the record up to see what was published.

Pointing the root domain at a service

cPanel has an ALIAS record for the root domain on servers running PowerDNS, but cPanel itself calls it experimental and not standards-compliant, warns it can break DNSSEC and make the site unreachable, and strongly recommends against using it. Use the A records the service gives you instead.

DNSSEC

Zone Editor → DNSSEC → Create Key signs the zone; View DS Records then shows the DS record you must add at your registrar. Before moving the account to another server, remove the DS record at the registrar first — cPanel says to allow up to 72 hours.

Common mistakes

  • Editing records in cPanel while the domain’s nameservers point elsewhere (Cloudflare, the registrar): nothing changes publicly.
  • Using Email Deliverability’s Repair on a domain whose DNS is not on the server — it is unavailable, and SPF/DKIM must be set where the DNS really is.
  • Leaving a DS record at the registrar after moving hosts.

Setting up email? The exact records for each service are in our email setup guides; to watch a change reach resolvers worldwide, use the propagation checker.

Questions

Why do my cPanel DNS changes not work?

Almost always because the domain’s nameservers are not the host’s. Look up the domain’s NS records: if they belong to Cloudflare, your registrar or anyone else, add the records there instead.

Sources

Checked against cPanel’s own documentation on 25 September 2026:

Know the record is right, and stays right

Add your domain and we check its DNS on a schedule, tell you when a record changes, and watch a new record reach resolvers worldwide. Free for your first domain.

Create a free account