Skip to content

DMARC lookup

Enter a domain to see its DMARC record and what it tells receivers to do.

Example: DMARC check of google.com

What is a DMARC record?

DMARC is a TXT record at _dmarc.yourdomain. It tells receiving servers what to do with mail that claims to come from the domain but fails both SPF and DKIM: deliver it, send it to spam, or reject it.

It also asks receivers to send reports, so the owner of the domain can see who sends mail in its name. A message passes DMARC when SPF or DKIM passes for a domain that matches the one in the From header.

How to read a DMARC record

In a zone file, the record looks like this:

_dmarc.example.com.   3600   IN   TXT   "v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com"
  • v=DMARC1 marks the record as DMARC. It must come first.
  • p is the policy: none (only report), quarantine (send to spam) or reject.
  • sp is the policy for subdomains. Without it they get the same policy as the domain.
  • rua is the address that receives the daily aggregate reports.
  • adkim and aspf set how closely the DKIM and SPF domains must match the From domain: r (relaxed, the default) accepts subdomains, s (strict) does not.

From the command line

Look up DMARC records without this site.

On macOS and Linux, use dig:

dig _dmarc.example.com TXT +short

On Windows, use nslookup:

nslookup -type=TXT _dmarc.example.com

To skip caches, ask one of the domain’s nameservers directly: dig @ns1.example.net _dmarc.example.com TXT.

Questions and answers

Where is the DMARC record?

At the _dmarc subdomain: _dmarc.example.com for example.com. This tool looks there for you. A subdomain without a record of its own is covered by the record of the main domain.

Which policy should I start with?

p=none with a rua address. Read the reports for a few weeks, fix the legitimate senders that fail, then move to quarantine and finally to reject.

Does DMARC need both SPF and DKIM?

No. One of them passing, for a domain that matches the From header, is enough. Set up both anyway: forwarding breaks SPF, and DKIM survives it.

Who requires DMARC?

Google, Yahoo and Microsoft require a DMARC record from bulk senders, roughly anyone who sends 5,000 or more messages a day to their users.

Other record types