ThreatPort

How to check the DMARC record for a domain

Updated 2026-10-30 ยท ThreatPort
Look up the TXT record at _dmarc.yourdomain.com. On a Mac or Linux run dig TXT _dmarc.yourdomain.com +short; on Windows run nslookup -type=txt _dmarc.yourdomain.com. No answer means the domain has no DMARC record. If it has one, the p= tag tells you whether forged mail is reported, sent to spam or rejected.

Step 1: look up the record

DMARC lives in DNS as a TXT record on the _dmarc subdomain. Any of these works:

# macOS / Linux
dig TXT _dmarc.yourdomain.com +short

# Windows (Command Prompt)
nslookup -type=txt _dmarc.yourdomain.com

# Windows (PowerShell)
Resolve-DnsName -Type TXT _dmarc.yourdomain.com

A typical answer looks like this:

"v=DMARC1; p=none; rua=mailto:[email protected]"

If you would rather not use a terminal, paste the domain into the free DMARC checker. It reads the same record and explains each tag.

Step 2: read the policy

TagWhat it means
p=noneReceivers send you reports about mail that fails the check, and still deliver it. It blocks nothing.
p=quarantineMail that fails goes to spam.
p=rejectMail that fails is refused. This is the setting that stops someone sending as your domain.
pct=The share of failing mail the policy applies to. Missing means 100.
rua=Where the daily aggregate reports go. Without it you are enforcing blind.
sp=Policy for subdomains. If missing, subdomains follow p=.

The most common half-finished setup is p=none left in place for years. It was meant as a first step to collect reports, and many domains never take the second one.

Step 3: check SPF and DKIM too

DMARC only passes when SPF or DKIM passes and lines up with the domain in the From address, so a DMARC record on its own is not enough.

# SPF lives on the domain itself; look for the line starting v=spf1
dig TXT yourdomain.com +short

# DKIM needs the selector your mail provider uses
dig TXT selector1._domainkey.yourdomain.com +short   # Microsoft 365 uses selector1 and selector2
dig TXT google._domainkey.yourdomain.com +short      # Google Workspace default

The SPF checker and DKIM checker do the same lookups for you.

Step 4: move from none to reject without breaking mail

  1. Keep p=none with a rua= address for two to four weeks and read the reports.
  2. Find every service that sends as your domain (newsletter tool, invoicing, CRM, website forms) and add it to SPF or set up DKIM for it.
  3. Switch to p=quarantine, optionally with pct=25 first, and watch the reports for real mail that fails.
  4. Move to p=reject once the reports only show mail you did not send.
Check it now: the free email security check reads DMARC, SPF and DKIM together and tells you whether someone can send mail as your domain.

Questions people ask

What happens if a domain has no DMARC record?

Receivers fall back to their own judgement. Mail that forges your domain is not rejected because you never asked them to reject it, and you get no reports about who is sending as you.

Is p=none enough?

No. p=none only asks receivers to report failures. It is a monitoring setting for the first few weeks, not protection.

Do Gmail and Yahoo require DMARC?

Since February 2024 both require a DMARC record from bulk senders, meaning domains that send around 5,000 or more messages a day to their users. Smaller senders are strongly encouraged to have one.

How long until a DMARC change takes effect?

As soon as the DNS change propagates, which depends on the record TTL and is usually minutes to a few hours.