What DMARC adds to SPF and DKIM
SPF and DKIM each answer a narrow question. Did this server have permission to send? Was this message signed by a key the domain published? Neither one looks at the From address your recipients actually read. DMARC (RFC 7489) does. It passes a message only when SPF or DKIM passes and the domain that passed matches the From domain. That match is called alignment.
DMARC also gives you visibility. Aggregate reports show which servers send mail as your domain, which is often the first time anyone sees the full list.
Before you start
You'll get the most out of DMARC if these are in place first:
- SPF published for the domain, as one TXT record.
- DKIM signing turned on at every mail provider, with
dkim=passin test messages. - A mailbox for reports, for example
dmarc@example.com, or a DMARC reporting service.
A domain with no SPF or DKIM can still publish p=none. Just don't jump to enforcement, or you'll block your own mail.
How to add DMARC record values in Bridge DNS
- Open your zone and choose Add record.
- Pick TXT.
- In the name field, enter
_dmarc. Not@, and not the full domain. - Paste the value. A safe first version is shown below.
- Save. Bridge DNS serves it within seconds, with an Auto TTL of 120 seconds.
That's all it takes. Knowing how to add DMARC record values is the easy part. Choosing the policy is where the thinking goes.
A DMARC record example
_dmarc 120 IN TXT "v=DMARC1; p=none; rua=mailto:dmarc@example.com; adkim=r; aspf=r"
| Tag | Meaning |
|---|---|
v=DMARC1 |
Version. Must come first. |
p= |
Policy for the domain: none, quarantine or reject |
rua= |
Where each daily aggregate report goes |
ruf= |
Where per-message failure reports go. Few receivers send them |
adkim=, aspf= |
Alignment mode: r relaxed (default, subdomains count) or s strict |
pct= |
Share of failing mail the policy applies to, 0–100 |
sp= |
Separate policy for subdomains |
If reports go to a mailbox on another domain, that domain has to agree to receive them. It publishes a TXT record such as example.com._report._dmarc.example.net with the value v=DMARC1. Reporting services usually handle this for you.
Which DMARC policy should you choose?
Go in stages. Each step is a one-line change.
p=nonefor two to four weeks. Nothing is blocked. Read the aggregate reports and list every service that sends as your domain: your mail provider, newsletter tool, CRM, invoicing system.- Fix what fails. Add missing senders to SPF, or turn on DKIM signing with your domain in each tool.
p=quarantine; pct=25. A quarter of failing mail goes to spam. Watch for complaints, then raisepctto 100.p=reject. Failing mail is refused outright. This is the setting that actually stops spoofing.
Bulk sender requirements from Gmail and Yahoo include DMARC and allow a p=none policy. A dmarc quarantine stage is optional, but it gives you a softer landing than going straight to reject.
How to check your DMARC record
Run dig against the exact name:
dig _dmarc.example.com TXT +short
"v=DMARC1; p=none; rua=mailto:dmarc@example.com; adkim=r; aspf=r"
Then send a test message to an external mailbox and look for dmarc=pass in the Authentication-Results header. The first aggregate reports usually arrive within a day or two.
Why DMARC fails
When the reports show failures, the cause is almost always one of these:
- A sender that doesn't sign with your domain. A marketing tool signs as its own domain, so DKIM passes but doesn't align. Set up custom DKIM in that tool.
- Forwarding. A forwarded message fails SPF because the forwarder's server isn't in your record. DKIM usually survives, which is why DKIM matters more than SPF for DMARC.
- Two DMARC records. Receivers then ignore DMARC for the domain completely. Keep exactly one TXT record at
_dmarc. - Wrong name. The record sits at the apex instead of
_dmarc. Lookups find nothing. - Syntax errors.
v=DMARC1isn't first, or tags are separated by commas instead of semicolons.
How to roll back
Change p= back to none. Receivers pick up the new value once the old one expires from their caches, which is two minutes on Auto TTL. Avoid deleting the record. That turns off reporting too, and you lose the data you need to fix the problem.
Related email guides
DMARC depends on the other records, so set them up in order:
The email DNS overview shows how all four mail records work together. The TXT record reference covers quoting and length limits.
DMARC setup questions
How do I set up DMARC for my domain?
Here's how to add DMARC record values at almost any DNS host: create a TXT record named _dmarc with a value such as v=DMARC1; p=none; rua=mailto:dmarc@example.com. Read the reports for a few weeks, fix the senders that fail, then move to quarantine and reject.
What is the best DMARC policy?
p=reject gives the most protection, because spoofed mail is refused. Reach it in stages. Starting with reject before every legitimate sender passes will block your own mail.
Do I need a DMARC record for every subdomain?
No. The record at _dmarc.example.com covers subdomains too, unless a subdomain publishes its own. Use sp= to give subdomains a different policy.
Can I have two DMARC records?
No. With more than one record at _dmarc, receivers treat the domain as having no DMARC policy at all. Merge them into a single record.
Why am I not getting DMARC reports?
Check that rua= starts with mailto: and that the mailbox exists. If the address is on another domain, that domain must publish the authorisation record. Some receivers also send reports only once a day.