schedule 17-min read

What Is a DMARC Record and How Do You Read It?

DMARC AI editorial team · Last updated

A DMARC record is a TXT record at _dmarc.yourdomain. Learn what each RFC 9989 tag means and how to read real DMARC records line by line.

01

What is a DMARC record?

A DMARC record is a single DNS TXT record, published at _dmarc. followed by your domain (for example _dmarc.example.com), that tells receiving mail servers what to do with mail that fails DMARC checks and where to send reports. You read it as a list of tag=value pairs separated by semicolons, starting with v=DMARC1.

DMARC (Domain-based Message Authentication, Reporting and Conformance) builds on SPF (Sender Policy Framework) and DKIM (DomainKeys Identified Mail). The record is where a domain owner states its policy in public. The current standard is RFC 9989, which replaced RFC 7489. This page covers what the record contains and how to read one. For the protocol as a whole, start with the DMARC guide. To write a new record, follow how to create a DMARC record step by step.

02

Key takeaways

  • The record lives in DNS as a TXT record at _dmarc.<domain>. One domain, one record: if a receiver finds more than one, RFC 9989 says it discards them all.
  • v=DMARC1 must come first. p sets the policy, sp and np cover subdomains, rua and ruf say where reports go, and t=y asks receivers to apply the policy one level lower.
  • RFC 9989 added np, psd and t, and removed three old tags. Unknown or removed tags are ignored, not rejected.
  • A subdomain without its own record is covered by a DNS tree walk up to the parent's record. RFC 9989 uses this walk instead of the Public Suffix List.
  • Most reading mistakes come from what is missing: no mailto:, no authorisation for an external report address, or an sp=none that leaves subdomains unprotected.
03

Where does a DMARC record live in DNS?

A DMARC record is a TXT record at the DNS name formed by putting _dmarc in front of the domain that appears in the email's From header. For mail from invoices@example.com, receivers query _dmarc.example.com. The underscore is part of the name, and the record is never placed on the domain itself.

RFC 9989 defines this name in sections 4.1 and 4.5. Microsoft's DMARC configuration guide states the same for Microsoft 365 custom domains: the hostname _dmarc is required, and you create the record at your DNS host, not in a Microsoft admin portal.

In most DNS control panels you type only the prefix, so the Name or Host field holds _dmarc and the provider appends the domain. For a subdomain such as news.example.com, the name becomes _dmarc.news. A record entered at @ sits on the domain itself, where receivers never look for DMARC.

04

What does a DMARC record look like?

A DMARC record is one line of text made of tags. Each tag is a name, an equals sign and a value, and tags are separated by semicolons. Only v=DMARC1 has a fixed position: it must be first. The other tags can appear in any order, and a trailing semicolon is optional.

The smallest useful record looks like this:

v=DMARC1; p=none; rua=mailto:reports@example.com

A fuller record for an enforced domain might look like this:

v=DMARC1; p=reject; sp=quarantine; np=reject; adkim=r; aspf=r; rua=mailto:reports@example.com

Three parsing rules from RFC 9989 shape how you should read any record:

  • The value of v is case sensitive. v=DMARC1 is valid; v=dmarc1 is not, and a record that does not begin with the version tag is discarded.
  • Tags that are not in the registry are ignored. A record with an unknown or removed tag still works; the extra tag simply does nothing.
  • If p is missing or invalid but the record has at least one valid rua address, receivers act as if p=none was published. Without a valid rua, they apply no DMARC processing at all (section 4.10.1).
05

Which tags can a DMARC record contain?

RFC 9989 section 4.7 defines eleven tags: v, p, sp, np, psd, t, adkim, aspf, rua, ruf and fo. Only v is required, and p is recommended. Every other tag is optional and has a default that applies when it is absent. The table lists each one as the standard defines it.

Tag Status Valid values Default if absent What it tells receivers
v Required, must be first DMARC1 None This is a DMARC record
p Recommended none, quarantine, reject Treated as none Policy for the domain, and for subdomains unless sp or np override it
sp Optional none, quarantine, reject Value of p Policy for subdomains that exist
np Optional none, quarantine, reject sp if present, otherwise p Policy for subdomains that do not exist in DNS
psd Optional y, n, u u Whether this domain is a public suffix domain (y), an organisational domain (n), or unknown (u)
t Optional y, n n Test mode: with t=y, apply the policy one level lower
adkim Optional r, s r (relaxed) DKIM alignment mode
aspf Optional r, s r (relaxed) SPF alignment mode
rua Optional Comma-separated URIs None (no aggregate reports) Where to send aggregate reports
ruf Optional Comma-separated URIs None (no failure reports) Where to send failure reports
fo Optional 0, 1, d, s (colon-separated) 0 Which failures trigger a failure report; ignored without ruf

RFC 9989 appendix C.5.2 lists the tags that were removed: pct was removed in RFC 9989 together with ri (report interval) and rf (report format), and t takes over the only two values of the old percentage that worked reliably. If you meet any of these three in a live record, it is a sign the record predates DMARCbis.

What do the policy tags p, sp and np mean?

p is the policy for the domain that publishes the record. sp covers subdomains that exist, and np covers subdomains that do not exist in DNS at all. quarantine asks receivers to treat failing mail as suspicious, usually the spam folder; reject says the use of the domain is not valid, so the mail can be refused.

When sp is absent, existing subdomains get the value of p. When np is absent, non-existent subdomains get sp if it is set, otherwise p. RFC 9989 also says sp is ignored in a record published on a subdomain, because the subdomain's own p already applies to it. The policy values are compared in DMARC policy explained, and the subdomain cases in DMARC for subdomains and the np tag.

What do t and psd mean?

t=y is test mode. RFC 9989 asks receivers to apply a policy one level below the one published, so p=reject; t=y is handled as quarantine, and p=quarantine; t=y as none. Reports are not affected, and t has no effect at p=none. psd is for public suffix operators and is rarely needed on business domains.

psd=n declares that this domain is an organisational domain for itself and its subdomains, and it stops the DNS tree walk described below. psd=y is meant for registries that publish DMARC for a public suffix. Both are covered in new DMARC tags: np, psd and t.

What do adkim and aspf mean?

These tags set alignment, which is how closely the domain authenticated by DKIM or SPF must match the From domain. r (relaxed, the default) accepts any domain within the same organisational domain, so mail.example.com aligns with example.com. s (strict) requires an exact match.

A record that leaves both tags out uses relaxed alignment for both, which is what most domains need. Seeing adkim=s tells you the owner expects every DKIM signature to use the exact From domain. DMARC alignment explained covers when strict mode helps and when it breaks third-party senders.

What do rua, ruf and fo mean?

rua lists where receivers send daily aggregate reports, ruf lists where they send failure reports about individual messages, and fo sets which failures produce those failure reports. Both report tags take URIs, and RFC 9989 requires receivers to support mailto:. URIs with a scheme a receiver does not support are ignored.

Several addresses go in one tag, separated by commas: rua=mailto:a@example.com,mailto:reports@example.net. If rua is absent, receivers must not send aggregate reports, so the domain owner gets no feedback. Aggregate reports are defined in RFC 9990 and explained in DMARC aggregate reports explained.

For fo, 0 asks for a report when all mechanisms fail to produce an aligned pass, 1 when any mechanism fails, d for DKIM failures and s for SPF failures. fo does nothing without ruf. Failure reports, defined in RFC 9991, can contain personal data, and not every receiver sends them; see DMARC failure reports.

06

How do you read a DMARC record line by line?

Read it in a fixed order: confirm v=DMARC1 is first, read the policy for the domain, then the policy for subdomains, then any test mode, then where reports go and whether those addresses will work. Finally, note what is absent and which defaults apply. The five records below show the method.

These are reading exercises, not templates. For records to copy for Microsoft 365, Google Workspace, parked domains and other setups, use DMARC record examples for common setups.

Example 1: a domain in monitoring

v=DMARC1; p=none; rua=mailto:dmarc@example.com

  • v=DMARC1: a valid DMARC record.
  • p=none: monitoring only. Receivers report on failing mail but take no action because of DMARC.
  • No sp or np: subdomains inherit none.
  • rua=mailto:dmarc@example.com: aggregate reports go to a mailbox on the same domain, so no extra authorisation is needed.
  • Absent: adkim and aspf, so alignment is relaxed.

Reading: the domain is collecting data but not yet protected. That is the right first stage, as explained in what p=none means, but not a place to stay.

Example 2: an enforced domain with split subdomain policy

v=DMARC1; p=reject; sp=quarantine; np=reject; rua=mailto:reports@example.net

  • p=reject: mail from example.com that fails DMARC can be refused.
  • sp=quarantine: mail from existing subdomains such as shop.example.com that fails goes to spam instead.
  • np=reject: invented subdomains such as secure-login.example.com, which do not exist in DNS, get reject.
  • rua=mailto:reports@example.net: reports go to a different domain. Check that example.net publishes the RFC 9990 authorisation record (see the mistakes section below).

Reading: the parent is fully enforced. One or more real subdomains are probably still being fixed, so the owner kept them at quarantine while closing off made-up names completely.

Example 3: test mode on quarantine

v=DMARC1; p=quarantine; t=y; rua=mailto:dmarc@example.co.uk

  • p=quarantine; t=y: receivers are asked to apply one level lower, so in practice this behaves like none.
  • Reports continue as normal, so the owner can see what quarantine would affect.

Reading: this domain is in transition. The next step is to remove t=y once reports show legitimate senders aligned. Moving from monitoring to enforcement safely describes the full sequence of p=none, then p=quarantine, then p=reject.

Example 4: a legacy record that needs attention

v=DMARC1; p=quarantine; rua=reports@example.com; ri=86400; rf=afrf

  • p=quarantine: enforcement is on for the domain and, with no sp, for its subdomains.
  • rua=reports@example.com: no mailto: scheme, so this is not a valid mail URI and reports may never arrive.
  • ri=86400; rf=afrf: removed in RFC 9989. Receivers ignore them; they do no harm but show the record was copied from an old template.

Reading: the policy works, but the owner is probably blind. Fix rua to rua=mailto:reports@example.com and delete the removed tags. Our guide to why a DMARC record is not working covers other symptoms of this kind.

Example 5: a domain that sends no email

v=DMARC1; p=reject; sp=reject; adkim=s; aspf=s; rua=mailto:reports@example.net

  • p=reject; sp=reject: no mail should pass for the domain or any subdomain.
  • adkim=s; aspf=s: strict alignment. With no legitimate senders there is nothing that relaxed alignment would need to allow.
  • No np: it falls back to sp=reject, so non-existent subdomains are also covered.

Reading: a parked or defensive domain locked down completely. Pair it with an SPF record of v=spf1 -all, as described in should parked domains have a DMARC record.

07

How do receivers find the DMARC record for a subdomain?

Receivers first query _dmarc at the exact From domain. If no record is there, RFC 9989 section 4.10 has them perform a DNS tree walk: remove labels from the left and query _dmarc at each parent, using at most eight queries. This walk replaces the Public Suffix List that RFC 7489 relied on.

Take mail from alerts@eu.billing.example.co.uk where only example.co.uk publishes a record. The receiver queries _dmarc.eu.billing.example.co.uk, finds nothing, then walks up through _dmarc.billing.example.co.uk and _dmarc.example.co.uk. The record at example.co.uk applies, and because the From domain is a subdomain, its sp value is used, or np if the subdomain does not exist in DNS.

The same walk decides the organisational domain used for relaxed alignment. Under section 4.10.2, a record with psd=n marks the organisational domain, a record with psd=y places it one label below, and otherwise the record with the fewest labels wins. Names longer than eight labels are shortened first, which keeps the walk to eight queries.

Two reading consequences follow. A subdomain's own record overrides the parent completely for that subdomain. And a client with an RFC 7489 era tool may see a different organisational domain from a receiver using the tree walk; RFC 9989 appendix C.3 notes that strict alignment with explicit records avoids this. DMARCbis and public suffix domains covers the walk in more detail.

08

What are the most common mistakes when reading a DMARC record?

The most common mistakes are missing a second record, overlooking a report address that cannot receive reports, and reading the parent policy without checking what subdomains get. Each one makes a record look stronger than it is. The checklist below covers the cases that cause most real problems.

  • Two records at _dmarc. If a lookup returns two strings that each start with v=DMARC1, there are two records. RFC 9989 says all of them are discarded, so the domain effectively has no policy. This often happens when a DNS host adds a default record and someone adds a second one.
  • rua without mailto:. rua=reports@example.com looks right but is not a URI. Receivers ignore URIs they cannot use, so no reports arrive.
  • An external report domain without authorisation. If example.com sends reports to reports@example.net, RFC 9990 section 4 requires example.net to publish a TXT record at example.com._report._dmarc.example.net that starts with v=DMARC1. Without it, receivers do not send reports there. See authorising external DMARC report destinations.
  • sp=none under an enforced p. v=DMARC1; p=reject; sp=none protects example.com but leaves every subdomain, including invented ones when np is absent, open to spoofing. Reading only p hides this.
  • Assuming a removed tag still works. A record with an old percentage tag is handled as if that tag were not there, so the published p applies in full.
  • The record on the wrong name. A record at example.com instead of _dmarc.example.com, or at _dmarc.example.com.example.com because the panel appended the domain twice, is never found.
  • v=DMARC1 not first. A record that starts with p=reject; v=DMARC1 is discarded.

More fixes are listed in common DMARC errors and how to fix them.

09

How do you look up a DMARC record?

Query the TXT record at _dmarc.<domain> with dig on macOS or Linux, nslookup on any platform, or Resolve-DnsName in Windows PowerShell. Each returns the raw record text, which you then read tag by tag using the method above.

dig +short TXT _dmarc.example.com


nslookup -type=TXT _dmarc.example.com


Resolve-DnsName -Name _dmarc.example.com -Type TXT

Microsoft documents the PowerShell cmdlet and its -Type parameter in Resolve-DnsName on Microsoft Learn. A healthy answer looks like this:

$ dig +short TXT _dmarc.example.com
"v=DMARC1; p=quarantine; rua=mailto:reports@example.com"

An empty answer means no record at that exact name, so check the parent domain to see what the tree walk would find. Two quoted lines starting with v=DMARC1 mean two records. To check that an external report domain has authorised you, query dig +short TXT example.com._report._dmarc.example.net.

This page is about understanding the output. For a full procedure to confirm which policy is actually in force, including subdomains and online checks, see how to check your DMARC policy. DNS lookup fundamentals for MSPs covers resolvers, caching and querying authoritative nameservers.

10

How should MSPs read DMARC records across a client portfolio?

Read every client record the same way and record the result in a fixed set of columns, so differences show up across the portfolio rather than one domain at a time. A short script that loops dig +short TXT _dmarc.<domain> over your domain list gives you the raw records to classify.

Useful columns for each domain:

Column What to record
Record count 0, 1, or more than 1 (more than 1 means no policy)
p none, quarantine, reject, or missing
Effective subdomain policy sp if set, otherwise p; and np if set
Test mode Whether t=y is present
rua destinations Each address, with mailto: present or not
External authorisation For each external rua domain, whether the _report._dmarc record exists
Removed tags Any of the three tags dropped by RFC 9989

Run the same read during onboarding, before any change, and when a client leaves. At onboarding it shows which domains have inherited a DNS host's default record or a stale rua pointing at a previous provider. At offboarding it shows which records still send reports to your own address, which you should hand over or remove with the client's agreement. How MSPs should audit client domains for DMARC risk turns this into a full audit, and DMARC change management for MSP portfolios covers logging each edit.

A DNS read only tells you what a domain asks for, not whether its mail passes. DMARC AI collects the aggregate reports from every client domain in one multi-tenant view, so you can see whether each record's report address is working and which senders still fail alignment before a policy moves up a level.

11

Frequently asked questions

Can a domain have more than one DMARC record?

No. A domain should have exactly one TXT record at _dmarc.<domain> that starts with v=DMARC1. RFC 9989 says that if more than one DMARC record is returned, receivers discard all of them, so the domain is treated as having no DMARC policy. Merge the tags you need into a single record and delete the other.

What happens if a DMARC record has no p tag?

RFC 9989 treats a missing p as p=none, provided the record contains at least one valid rua address. If p is missing or invalid and there is no valid rua, receivers apply no DMARC processing. Always publish p explicitly, so anyone reading the record can see the intended policy without knowing the fallback rules.

Do subdomains need their own DMARC record?

Usually not. If a subdomain has no record, receivers walk up the DNS tree to the parent's record and apply its sp value, or np for subdomains that do not exist. Publish a separate record only when a subdomain needs a different policy or different report addresses, because its own record replaces the parent's for it.

Is a DMARC record case sensitive?

The version value is. RFC 9989 says the value of v is case sensitive and must be exactly DMARC1, and a record that does not begin with that tag is discarded. Domain names are compared without regard to case. The safe convention is to write other tags and values in lower case and keep v=DMARC1 first.

12

Next steps

Look up the record for your own domain, read it in the order above, and write down what each tag does and which defaults apply where tags are missing. If anything is unclear, or the record shows one of the mistakes listed here, fix it with how to create a DMARC record step by step. For what changed in the standard behind these tags, see RFC 9989 explained.

Related articles

Related tools

Ready to Implement?

Get authenticated mail moving in minutes: start free, book a guided demo, or talk to the team about your stack.