Managing DNS Zones in WHM

Every cPanel account you create automatically gets a DNS zone — a set of records that tell the internet where to find that domain's website, mail server, and other services. As a reseller, you can view and edit DNS zones for any account in your WHM. This article explains how to manage zones, edit records, and use zone templates to speed up account setup.

Edit client DNS records and use zone templates.

Understanding DNS Records

Before making changes, it helps to know the common record types:

Record TypePurposeExample
AMaps a hostname to an IPv4 addressexample.com → 203.0.113.10
AAAAMaps a hostname to an IPv6 addressexample.com → 2001:db8::1
CNAMECreates an alias pointing to another hostnamewww → example.com
MXSpecifies the mail server for the domainmail.example.com (priority 10)
TXTStores text data — used for SPF, DKIM, verificationv=spf1 include:...
NSNameserver records for the zonens1.yourbrand.com

Viewing a DNS Zone

  1. Log in to WHM at https://yourserver:2087.
  2. Navigate to DNS Functions > Edit DNS Zone.
  3. Select the domain from the list and click Edit.

You will see the full zone file with all current records. Scroll through to find the record you want to change.

Editing a DNS Record

  1. From the Edit DNS Zone screen, locate the record you want to change.
  2. Click the field you want to edit — most fields are inline-editable.
  3. Make your change (e.g., update the IP address in an A record).
  4. Click Save at the bottom of the page.

Changes to DNS records typically propagate across the internet within 15 minutes to a few hours, depending on the TTL (Time To Live) value of the record.

Adding a New DNS Record

  1. Scroll to the bottom of the Edit DNS Zone page.
  2. Fill in the fields for the new record:
    • Name — The hostname (e.g., mail or shop)
    • TTL — Leave as default (14400) unless you have a specific reason to change it
    • Class — Leave as IN
    • Type — Select A, CNAME, MX, TXT, etc.
    • Address / Value — The target IP address or value for the record
  3. Click Add Record and then Save.

Deleting a DNS Record

  1. On the Edit DNS Zone page, find the record you want to remove.
  2. Tick the checkbox on the far right of that row.
  3. Scroll to the bottom and click Save. Records with the delete checkbox ticked will be removed.

Caution: Deleting the wrong record — particularly an A record or MX record — can take a website offline or break email delivery. Double-check before deleting.

Resetting a DNS Zone to Default

If a zone has been badly misconfigured, you can reset it:

  1. Navigate to DNS Functions > Reset a DNS Zone in WHM.
  2. Select the domain and click Reset Zone.
  3. WHM will regenerate the zone based on the account's current configuration (IP address, mail settings, etc.).

This is a useful recovery option, but be aware it will remove any custom records you have added.

Using Zone Templates

Zone templates let you define a standard set of DNS records that are automatically applied to every new cPanel account you create — useful if you want to pre-configure records for a third-party email provider or a CDN.

  1. In WHM, navigate to DNS Functions > Edit Zone Templates.
  2. Select standardvirtualftp (the default template used for new accounts) or create a custom one.
  3. Add, edit, or remove records as needed.
  4. Save the template.

New accounts created after saving the template will have these records added automatically.

Common DNS Tasks

Point a subdomain to a different server: Add a new A record with the subdomain as the hostname and the external server's IP as the value.

Add Google Workspace or Microsoft 365 email: Replace the default MX records with those provided by Google or Microsoft. Also add the required SPF and DKIM TXT records they supply.

Verify domain ownership for a third-party service: Add a TXT record with the verification string provided by the service (e.g., Google Search Console, Stripe).

For DNS troubleshooting or assistance with complex zone configurations, contact CyclebreezeHost support 24/7 at info@cyclebreezehost.com or via https://clients.cyclebreezehost.com.