
How DMARC works
A DMARC record is a TXT record at _dmarc.example.com that starts with v=DMARC1 and holds tag=value pairs separated by semicolons. The checker sends the query from your browser over DNS-over-HTTPS (Cloudflare, with Google as a fallback) and lists every tag with its value. It warns you when p is none or missing, pct is below 100 or there is no rua, and flags a domain with more than one DMARC record.
DMARC checks alignment: the domain in the From header must match the domain that passed SPF (the Return-Path domain) or DKIM (the d= domain of the signature). In relaxed mode, the default, mail.example.com aligns with example.com. Strict mode (adkim=s, aspf=s) requires an exact match. Mail can pass SPF for a service's domain and still fail DMARC for yours.
Google, Microsoft, Yandex and other mailbox providers send aggregate reports to the rua address, most of them once a day. Each report lists the IP addresses that sent mail with your domain in From, along with their SPF and DKIM results, so you can spot the CRM or old web server nobody added to SPF.
When to run a DMARC check
- Before a mail campaign, to confirm the domain has a policy and a report address
- After you publish or edit the record, to see what DNS returns now
- Before you move from p=quarantine to p=reject
- After a security scanner flags “DMARC quarantine/reject policy not enabled” or “No DMARC record found”
DMARC record format and tags
v=DMARC1 comes first and names the protocol version. p sets the policy for the domain: none, quarantine or reject. sp sets the policy for subdomains; without it they get the p value. pct applies the policy to a share of failing mail, 100 by default. rua takes mailto: addresses for aggregate reports, and ruf takes addresses for failure reports on single messages. adkim and aspf set DKIM and SPF alignment: r for relaxed (the default) or s for strict. fo picks which failures trigger a ruf report: 0 when SPF and DKIM both fail (the default), 1 when either fails, d for DKIM only, s for SPF only. ri sets the aggregate report interval in seconds, 86400 by default, and rf names the failure report format, afrf. The checker leaves the Meaning cell empty for any tag outside this list.
DMARC record examples
Monitoring only: v=DMARC1; p=none; rua=mailto:dmarc@example.com. Receivers deliver all mail and send you reports. Partial quarantine: v=DMARC1; p=quarantine; pct=25; rua=mailto:dmarc@example.com sends a quarter of failing mail to spam and treats the rest as p=none. Full enforcement: v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc@example.com asks receivers to refuse failing mail from the domain and from subdomains without a record of their own. Fill in the failure report address, and the generator adds fo=1 after it: v=DMARC1; p=reject; rua=mailto:dmarc@example.com; ruf=mailto:dmarc@example.com; fo=1.
Set up DMARC step by step
Set up SPF and DKIM for each service that sends your mail first, since DMARC builds on them. Build a p=none record with a rua address in the generator above and add it as a TXT record. In GoDaddy, Cloudflare and most other DNS panels, type _dmarc in the Host or Name field. Give DNS caches time to expire, then run the check again. Read the aggregate reports for two to four weeks and fix the senders that fail. Then switch to p=quarantine with pct=25, raise pct to 100 and finish with p=reject.