Email

Set up your domain's DMARC record in cPanel

Reviewed on 6 min read DMARC deliverability

DMARC is a TXT-type DNS record that tells the servers receiving your email what to do with a message that claims to come from your domain but fails verification: deliver it anyway, send it to spam or reject it. It protects against anyone trying to spoof your domain to send spam or scams. It also lets you receive reports on who is sending email on behalf of your domain.

DMARC relies on SPF and DKIM. A message passes DMARC if it passes SPF or DKIM and, in addition, the verified domain matches the sender domain the recipient sees (this is called alignment). Gmail, Yahoo and Microsoft require DMARC from anyone who sends a lot of email, so it's worth having it set up.

Create the record from cPanel

  1. In cPanel, open Zone Editor and click Manage next to the domain.
  2. First check that there isn't already a TXT record called _dmarc.tudominio.com. If there is, edit it instead of creating another one: there can only be one DMARC record per domain.
  3. In the top right-hand corner, open the Add Record drop-down and choose Add "DMARC" Record.

Zone Editor Add Record menu with the Add DMARC Record option

A wizard will open for you to fill in the record:

Zone Editor DMARC wizard with Policy, Subdomain Policy, DKIM Mode, SPF Mode, Percentage, reports and sending addresses

What each field means

  1. Policy: what to do with emails that fail DMARC verification.
    • None (p=none): no action is taken, only reports are sent. Ideal to start with.
    • Quarantine (p=quarantine): they are treated as suspicious; they usually go to the spam folder.
    • Reject (p=reject): they are rejected.
  2. Subdomain Policy: the same, but for subdomains (tienda.tudominio.com, etc.). If you don't set it, the same policy as the domain applies.
  3. DKIM Mode and SPF Mode: how exact the domain match has to be.
    • Relaxed: accepts subdomains. An email verified as mail.tudominio.com is valid for tudominio.com.
    • Strict: requires an exact match. Leave it on Relaxed unless you know why you need it.
  4. Percentage, Generate Failure Reports When, Report Format and Report Interval: leave them at their default values. The current DMARC specification (RFC 9989, May 2026) drops the percentage and the interval, and receivers will increasingly ignore them.
  5. Send Aggregate Mail Reports To: the address where you want to receive the daily reports, in the format mailto:dmarc@tudominio.com. Create that email account first. The simplest option is for it to be on the same domain.
  6. Send Failure Reports To: reports on each individual failure. Few providers send them and they may include message data; you can leave it empty.

The wizard only helps you write the record. In the Raw tab you'll see the final TXT that will be published:

Raw tab of the DMARC wizard with the final text of the record

Click Save Record to save it.

Which policy to choose

To start with, use None with reports. That way you don't affect any email and within a few weeks the reports will tell you whether there's any service (your shop, your CRM, a newsletter tool) sending with your domain without being authorised in the SPF record or signed with DKIM. The record looks like this:

v=DMARC1; p=none; rua=mailto:dmarc@tudominio.com

Once you've checked that everything passes, move up to Quarantine. It's a safe configuration without being too strict:

  • Policy: Quarantine
  • Subdomain Policy: None
  • DKIM Mode and SPF Mode: Relaxed
  • Send Aggregate Mail Reports To: mailto:dmarc@tudominio.com
v=DMARC1; p=quarantine; sp=none; adkim=r; aspf=r; rua=mailto:dmarc@tudominio.com

Move to Reject only after you've spent some time on quarantine with no failures from your own sending.

If you send email from an external service (Google Workspace, Mailchimp, Brevo…), first authorise it in the SPF record and set up DKIM signing with your domain in that service. Otherwise, its emails will fail DMARC.

To understand the reports you receive, see how to read DMARC reports.

Check the record

After a few minutes, review the published record with our DMARC checker: it shows the _dmarc TXT, explains each tag and suggests the next step.

To check that your emails comply with DMARC (not just that the record exists), send a real email from your account to our email test: it checks whether SPF and DKIM pass and are aligned with your sender.

If your domain doesn't use our DNS (for example, it's on Cloudflare), create the record in that provider's panel: a TXT named _dmarc with the same value you see in the Raw tab.

Many domains

If you have many domains or accounts and find it hard to set them up one by one, we have a tool that does it in bulk on the accounts you tell us. For each domain it:

  • checks that it uses our DNS, which is required to manage the record from the hosting;
  • creates the email account dmarc@yourdomain.com to receive the reports;
  • publishes a lenient DMARC record like the one in the example (it can be customised).

Open a ticket with the list of accounts or domains and we'll apply it.

You may also find useful

Something wrong or out of date? Tell us and we will review it.