tools / DNS lookups / look up dmarc records for a domain
DNS · TXT (DMARC)

DMARC record lookup

DMARC tells receivers what to do with mail that fails SPF or DKIM (`none`, `quarantine`, `reject`) and where to send aggregate reports. Stored as TXT at `_dmarc.<domain>`.

intermediate TXT (DMARC)

How to look it up

Four ways to query — pick by what's available on your machine.

digdig TXT _dmarc.example.com +short
dotdigdotdig dmarc example.com

Sample response

"v=DMARC1; p=reject; rua=mailto:dmarc@example.com; pct=100; aspf=r; adkim=r"

Format

Required fields: `v=DMARC1`, `p=`. Common: `rua=` (aggregate reports), `ruf=` (forensic reports), `pct=` (% of mail to enforce), `aspf=`/`adkim=` (alignment mode r=relaxed, s=strict).

Common pitfalls

Why it matters for security

security relevance DMARC at `p=reject` is the only DNS-level defense against domain spoofing in mail. Without DMARC, attackers can forge `from: ceo@yourcompany.com` even if SPF/DKIM exist.

Use cases

Look up DNS without flag soup
dotdig is a friendly DNS resolver — formatted output, custom resolver support, DNSSEC validation. Zero-config alternative to dig.
Open dotdig  

Related DNS lookups

MX · NS · TXT · PTR