In November we scanned 876 websites from 14 EU countries for a study on
cookie banners. The scanner also reads each domain's DNS records. One
result stood out more than the tracker results:

530 of the 876 domains (60 %) had no DMARC record, or one set to
p=none.
I re-checked 12 of them by hand in DNS a few days later. 11
were unchanged; one had switched to p=reject.

p=none means "watch, don't act". Receiving servers still deliver mail
that fails authentication. For those 530 domains, anyone can send a
message with their domain in the From line, and the domain's policy
doesn't ask the recipient to refuse it.

The denominator includes domains that never send email. These can still
be spoofed. A domain that sends nothing is a useful spoofing target
because nobody watches it.

What the three records do

  • SPF is a TXT record listing the servers allowed to send for the domain. It ends in ~all (treat others as suspicious) or -all (reject others).
  • DKIM is a signature your mail service adds to each message; the public key sits at selector._domainkey.your-domain.
  • DMARC sits at _dmarc.your-domain and tells receivers what to do when a message fails: p=none, p=quarantine or p=reject. A message passes DMARC when SPF or DKIM passes for the same domain as the visible From address. This alignment is where setups often fail.

Check it in 10 seconds

dig +short TXT _dmarc.your-domain.example dig +short TXT your-domain.example | grep spf1 

On Windows: nslookup -type=TXT _dmarc.your-domain.example.

For several domains, this checks a list using
Node's standard library:

import { resolveTxt } from "node:dns/promises"; // "No such record" is an answer; anything else (timeout, refused) is not. const txt = (name) => resolveTxt(name).then((rs) => rs.map((r) => r.join("")), (e) => { if (e.code === "ENODATA" || e.code === "ENOTFOUND") return []; throw e; }); for (const domain of process.argv.slice(2)) { const dmarc = (await txt(`_dmarc.${domain}`)).find((r) => /^v=DMARC1/i.test(r)); const spf = (await txt(domain)).filter((r) => /^v=spf1/i.test(r)); const p = dmarc?.match(/;\s*p=(\w+)/i)?.[1].toLowerCase(); const rua = /;\s*rua=/i.test(dmarc ?? ""); const spfEnd = spf.length > 1 ? `${spf.length} records (invalid)` : spf.length ? spf[0].match(/[-~?+]all\b|redirect=\S+/)?.[0] ?? "no 'all'" : "missing"; console.log(domain.padEnd(28), "DMARC:", dmarc ? `p=${p}${rua ? "" : ", no rua"}` : "missing", "| SPF:", spfEnd); } 

node dmarc.mjs example.com your-domain.example prints one line per
domain, for example:

example.com DMARC: p=reject, no rua | SPF: -all 

Why so many domains stay at p=none

p=none is the right first step, but most domains stop there.
From what I've seen, these are the reasons:

  1. Nobody reads the reports. rua= sends daily XML summaries. If nobody opens the mailbox, nobody learns whether tightening is safe, so the policy stays unchanged.
  2. Forgotten senders. The office mailbox is covered, but the shop sends order confirmations through its own server, the newsletter tool uses a different one, and the invoicing tool a third. Each needs to be in SPF or sign with DKIM for your domain. Set p=reject before that's done and your own order confirmations disappear.
  3. No DKIM for the domain. Many services sign with their domain by default. That passes DKIM without aligning with yours, so it doesn't help DMARC. Look for "domain authentication" in each service's settings.

The path that doesn't break anything

  1. List everything that sends mail as your domain: mailbox provider, shop, newsletter, invoicing, helpdesk.
  2. Use one SPF record with one include: per sender, ending in ~all.
  3. Switch on DKIM in every service.
  4. Set v=DMARC1; p=none; rua=mailto:dmarc@your-domain, with an address someone reads.
  5. After a few weeks of reports where all your senders pass: p=quarantine, later p=reject.

For domains that never send mail (old brand names, typo domains), apply
these records immediately:

your-parked-domain.example. TXT "v=spf1 -all" _dmarc.your-parked-domain.example. TXT "v=DMARC1; p=reject;" 

Since February 2024 Gmail and Yahoo require SPF, DKIM and DMARC from bulk
senders, so most newsletter senders can no longer defer this.

I built a free check that reads MX, SPF, DKIM (common selectors), DMARC,
MTA-STS and TLS-RPT and shows the exact record to add for each gap,
without running dig by hand. No sign-up:
https://konformia.at/en/email-check?q=devto-dmarc

The full study includes the method and limits:
https://konformia.at/en/cookie-study?q=devto-dmarc