How to Add a DMARC Record in cPanel
Step-by-step guide to adding a DMARC TXT record using cPanel's Zone Editor. Quick setup for any hosting provider that uses cPanel.
cPanel is one of the most widely used hosting control panels. Adding a DMARC record through cPanel's Zone Editor takes just a few steps, regardless of which hosting provider you're on.
Prerequisites
Before adding DMARC:
- Access to your cPanel account
- Your domain's DNS must be managed through cPanel (not an external DNS provider)
- SPF and DKIM should already be configured
Check your current SPF record and DKIM setup first.
DNS managed elsewhere?
If your domain uses external nameservers (like Cloudflare or your registrar's DNS), you need to add the DMARC record there instead. cPanel DNS changes only work if your domain's nameservers point to your cPanel hosting server.
Step 1: Open the Zone Editor
- Log in to your cPanel account (usually at
yourdomain.com/cpaneloryourdomain.com:2083) - In the Domains section, click Zone Editor
If you don't see Zone Editor, look for Advanced Zone Editor or DNS Zone Editor — the name varies by cPanel version and hosting provider.
Step 2: Add the DMARC TXT Record
- Find your domain in the list and click Manage
- Click + Add Record and select Add "TXT" Record
- Fill in the fields:
| Field | Value |
|---|---|
| Name | `_dmarc.yourdomain.com.` |
| TTL | `14400` (or leave default) |
| Type | TXT |
| Record | `v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com` |
- Click Add Record or Save
Important notes:
- In cPanel, the Name field usually requires the full domain with a trailing dot:
_dmarc.yourdomain.com. - Some cPanel versions auto-append the domain — if so, enter just
_dmarc - Replace
dmarc@yourdomain.comwith your actual email address
Step 3: Verify the Record
DNS changes in cPanel typically propagate within a few minutes to a few hours. Verify your record:
DMARC Record Examples
Monitoring (Recommended Start)
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
Quarantine
v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.com
Reject (Full Enforcement)
v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc@yourdomain.com
Use DMARC Creator to build a customized record.
Using cPanel's Email Authentication Tools
Many cPanel installations include built-in email authentication tools.
Email Deliverability (cPanel 82+)
Newer cPanel versions have an Email Deliverability section:
- Go to Email → Email Deliverability
- Find your domain and click Manage
- cPanel shows the status of SPF and DKIM
- It can auto-install recommended SPF and DKIM records
This tool handles SPF and DKIM but does not set up DMARC. You still need to add the DMARC TXT record manually through the Zone Editor.
Authentication (Legacy cPanel)
Older cPanel versions have:
- Go to Email → Authentication
- Enable SPF and DKIM from here
Again, this only covers SPF and DKIM — DMARC must be added manually.
Editing an Existing DMARC Record
To update your DMARC record:
- Open Zone Editor
- Click Manage for your domain
- Find the
_dmarcTXT record in the list - Click Edit
- Update the Record field
- Click Save Record
Deleting a DMARC Record
- Open Zone Editor → Manage
- Find the
_dmarcTXT record - Click Delete
- Confirm the deletion
Troubleshooting
Zone Editor Not Available
- Ask your hosting provider if DNS management is enabled
- Some shared hosting plans restrict DNS editing
- Check if your hosting provider uses a custom control panel instead
Record Not Found After Adding
- Verify you entered the correct Name:
_dmarc.yourdomain.com. - Check that your domain's nameservers point to your cPanel hosting server
- Wait up to 4 hours for full propagation
- Clear your DNS cache and try again
Duplicate DMARC Records
If you accidentally created two DMARC records:
- Open Zone Editor → Manage
- Find both
_dmarcTXT records - Delete the incorrect one
- Keep only one valid DMARC record
"Invalid Zone" Error
- Make sure there's a trailing dot after the full domain name if required
- Check for special characters or formatting issues in the record value
- Ensure the record starts with
v=DMARC1
cPanel Says SPF/DKIM Are Already Set Up
cPanel's auto-configuration handles SPF and DKIM but not DMARC. Even if cPanel shows SPF and DKIM as "enabled," you still need to manually add a DMARC record.
Hosting Providers Using cPanel
These popular hosts use cPanel and the steps above apply:
- Bluehost
- HostGator
- A2 Hosting
- SiteGround (older plans)
- InMotion Hosting
- DreamHost (some plans)
- GreenGeeks
The interface may look slightly different depending on your provider's cPanel theme (Paper Lantern, Jupiter, etc.), but the Zone Editor works the same way.
Complete Checklist
- [ ] Logged into cPanel
- [ ] Opened Zone Editor for your domain
- [ ] Added TXT record with Name:
_dmarc.yourdomain.com. - [ ] Set record value with DMARC policy and report address
- [ ] Saved the record
- [ ] Verified with DMARC checker
- [ ] Confirmed nameservers point to your cPanel host
Monitor Your DMARC Records
Checking once is good. Monitoring continuously is better. The Email Deliverability Suite watches your SPF, DKIM, DMARC, and MX records daily and alerts you when something breaks.
Never miss a DMARC issue
Monitor your SPF, DKIM, DMARC and MX records daily. Get alerts when something breaks.
Start Monitoring