← All posts

How to add a DMARC record in cPanel

DMARCcPanelHow-to

Many hosting providers give you cPanel. DMARC is added in its Zone Editor, and cPanel has one quirk: the record name must be fully qualified.

Before you start

  • SPF and DKIM must already work. See SPF, DKIM and DMARC explained.
  • Your domain must use the hosting provider’s nameservers, otherwise cPanel’s zone is not the live one.
  • Choose a reporting mailbox, for example dmarc@example.com.

Add the record

  1. Log in to cPanel and open Zone Editor in the Domains section.

  2. Next to your domain, click Manage.

  3. Click Add Record and choose Add TXT Record.

  4. Name: _dmarc.example.com. (with your domain and the trailing dot).

  5. TXT Value:

    v=DMARC1; p=none; rua=mailto:dmarc@example.com
  6. Click Add Record.

Newer cPanel versions may accept _dmarc alone, but the fully qualified form works everywhere.

Handy shortcut

cPanel also has an Email Deliverability page. It shows whether SPF and DKIM are valid and can repair them. It does not set DMARC for you, so you still add the record above.

Verify

dig +short TXT _dmarc.example.com

Then send a test message and confirm dmarc=pass (reading headers).

Troubleshooting

  • Name has the domain twice: you forgot the trailing dot, so the zone editor appended the domain again.
  • Record not visible: DNS may not be served from cPanel. Check your nameservers.
  • Server mail failing DMARC: scripts on the hosting account send as your domain. Include the server in SPF and enable DKIM in Email Deliverability.