WHM & reselling

How to manage DNS zones and records in WHM

Add, edit and delete A, CNAME, MX and TXT records for your customers' domains with WHM Zone Manager, and reset a broken zone back to its defaults.

IntermediateReseller hosting3 min read

Every cPanel account you create gets a DNS zone on the server. When your customers' domains use your nameservers, the records in that zone decide where the website, email and verification records point. WHM's Zone Manager lets you edit any of your customers' zones from one place.

Before you start

  • WHM access on your reseller plan (see logging in to WHM).
  • The domain must use the server's nameservers or your private nameservers. If the domain uses Cloudflare or registrar DNS, edit records there instead.
  • The record values you need, for example an IP address from an external service or a TXT verification string.

Open Zone Manager

  1. Log in to WHM.
  2. Go to WHM → DNS Functions → Zone Manager.
  3. Find the domain and click Manage.

You see a table with every record in the zone: the domain's A record, www CNAME, mail, ftp, MX, SPF and DKIM TXT records, and service records used by cPanel.

Add a record

  1. Click Add Record (or the arrow next to it to choose a type).
  2. Enter the Name, for example shop.example.com.. A trailing dot means the full name; without it the domain is appended automatically.
  3. Set the TTL. 14400 seconds (4 hours) is the default; use 300 before a planned change.
  4. Choose the Type and enter the Record value.
  5. Click Save Record.

Common records

TypeTypical useExample value
APoint a name to an IPv4 address203.0.113.10
CNAMEAlias one name to anothershops.myshopify.com
MXWhere email for the domain is deliveredPriority 0, example.com
TXTSPF, DKIM, DMARC, site verificationv=spf1 +a +mx ~all
CAAWhich authorities may issue SSL certificates0 issue "sectigo.com"

Warning: If you add MX records for an external provider such as Google Workspace or Microsoft 365, also set the domain's Email Routing to Remote Mail Exchanger in the customer's cPanel (Email → Email Routing). Otherwise the server keeps delivering mail locally.

Edit or delete a record

  1. In Zone Manager, click Edit on the record row.
  2. Change the value and click Save Record, or click Delete and confirm.

Do not delete the NS and SOA records; the zone stops working without them.

Reset a broken zone

If a zone has been badly edited, WHM → DNS Functions → Reset a DNS Zone rebuilds it from the account's defaults. Custom records such as Google verification or external MX are removed, so note them first and add them back afterwards.

Check your changes

  • Use an online DNS lookup or run dig +short A shop.example.com from a terminal.
  • Remember resolvers cache old records for the previous TTL.
  • Look up ownership details with the WHOIS checker if you are unsure which nameservers a domain uses.

Troubleshooting

Changes have no effect

The domain probably uses other nameservers. Check the NS records at the registrar; the zone in WHM is only used when the domain points to it.

"Zone not found"

Addon and parked domains have their own zones, but subdomains live inside the parent domain's zone. Search for the main domain.

Email stopped after editing MX

Check the MX target has an A record and that Email Routing matches the provider.

Frequently asked questions

Can customers edit DNS themselves?

Yes, if the Zone Editor feature is in their feature list. They use cPanel → Domains → Zone Editor, which edits the same zone.

Can I add DNS zones for domains without an account?

Resellers can only manage zones for domains on their own accounts. Create a cPanel account or add the domain to an existing account first.

What TTL should I use?

Keep the default for stable records. Lower it to 300 a day before a migration so the switch spreads quickly, then raise it again.

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.