How to Set Up DMARC for cPanel/WHM

Publish a DMARC record for your cPanel-hosted domain to protect against email spoofing.

Quick Answer — The Record You Need

Record Type

TXT

Host / Name

_dmarc

Value
v=DMARC1; p=none; rua=mailto:[email protected]; ruf=mailto:[email protected]; fo=1

Set up SPF and DKIM via the Email Deliverability tool first.

Step-by-Step Setup

1

Configure SPF and DKIM

Use cPanel Email Deliverability to set up both SPF and DKIM first.

2

Open DNS Zone Editor

In cPanel, go to Domains > Zone Editor (or Advanced Zone Editor).

3

Add the DMARC record

Add a TXT record with name _dmarc.yourdomain.com and the DMARC policy value.

v=DMARC1; p=none; rua=mailto:[email protected]; ruf=mailto:[email protected]; fo=1
4

Monitor reports

Review DMARC reports to confirm your server's emails pass authentication.

5

Enforce gradually

Move from p=none to p=quarantine to p=reject.

Common Gotchas

  • cPanel Email Deliverability handles SPF and DKIM but does not auto-create DMARC records. You need to add DMARC manually via the Zone Editor.
  • If your cPanel account sends email from multiple domains, each domain needs its own DMARC record.
  • Shared hosting servers may have other users sending from the same IP. DKIM alignment (not SPF) is more reliable for DMARC on shared hosting.

Verify Your Setup

After adding your DNS records, use our free DMARC checker to verify everything is configured correctly. DNS changes typically propagate within minutes, but can take up to 48 hours.

Frequently Asked Questions

Does cPanel create DMARC records automatically?

No. The Email Deliverability tool manages SPF and DKIM, but DMARC must be added manually via the Zone Editor.

Can I use p=reject on shared hosting with cPanel?

Yes, but test carefully. Shared hosting means other users may send from the same server. DKIM alignment is more reliable than SPF in this case.

Where do I add DMARC in cPanel?

Use Domains > Zone Editor. Add a TXT record with the name _dmarc.yourdomain.com and your DMARC policy value.

Related Guides