How to Check DMARC Records

DMARC (Domain-based Message Authentication, Reporting, and Conformance) is a DNS-published policy that tells receiving mail servers what to do when an email fails SPF and DKIM authentication. Checking a domain's DMARC record helps you understand its email security posture and troubleshoot authentication failures.

Method 1: Use a web-based DNS lookup tool

Use IPLookupHub's DNS Lookup tool to query TXT records for _dmarc.example.com. The DMARC record is always published at the _dmarc subdomain of the domain you are checking.

Method 2: Use dig on the command line

dig _dmarc.example.com TXT

A typical DMARC record looks like:

"v=DMARC1; p=reject; rua=mailto:[email protected]; adkim=s; aspf=r"

Method 3: Use nslookup

nslookup -type=TXT _dmarc.example.com

Understanding DMARC tags

TagMeaningExample
vDMARC version (always DMARC1)v=DMARC1
pPolicy: none, quarantine, or rejectp=reject
spSubdomain policy (inherits from p if absent)sp=quarantine
ruaAggregate report destinationrua=mailto:[email protected]
rufForensic (failure) report destinationruf=mailto:[email protected]
adkimDKIM alignment mode (r=relaxed, s=strict)adkim=s
aspfSPF alignment mode (r=relaxed, s=strict)aspf=r
pctPercentage of messages to apply policy topct=50

DMARC policy rollout

Most organizations deploy DMARC gradually:

  1. Start with p=none and configure rua reporting. This monitors authentication results without affecting delivery.
  2. Move to p=quarantine after reviewing reports and ensuring legitimate senders pass SPF and DKIM.
  3. Advance to p=reject when you are confident all authorized sources are properly authenticated.

The pct tag can be used during transitions to apply the policy to only a percentage of messages (e.g., pct=10 to start cautiously).

Common mistakes

Frequently asked questions

What is a DMARC record?

A DMARC record is a DNS TXT record published at _dmarc.example.com that tells receiving mail servers how to handle messages that fail SPF and DKIM authentication checks.

What do the DMARC policy values mean?

p=none means monitor only (no action). p=quarantine means move suspicious mail to spam. p=reject means reject messages that fail authentication.

What is DMARC alignment?

DMARC alignment checks whether the domain in the From header matches the domain validated by SPF or DKIM. Relaxed alignment allows subdomains to match; strict alignment requires an exact match.

What are DMARC aggregate reports?

DMARC aggregate reports (rua) are XML reports sent by receiving servers to the address specified in the DMARC record. They show how many messages passed or failed SPF/DKIM checks for the domain.