schedule 9-min read

How to Generate a Compliant DMARC Record

DMARC AI editorial team · Last updated

Build a DMARC record that meets RFC 9989: which tags to use, the safe starting record, reporting setup, and rollout from p=none to p=reject without pct.

01

Introduction

A compliant DMARC record is a single TXT record at _dmarc.yourdomain that starts with v=DMARC1, sets a policy with p= and sends aggregate reports with rua=. The safe starting point is v=DMARC1; p=none; rua=mailto:reports@example.com. Under RFC 9989, the 2026 standard, you then move to p=quarantine and p=reject in full steps.

Composing the record is easy; choosing the right values is the real work. This article walks through every tag in the current standard, the template MSPs should start from, how to route reports correctly and how to move to enforcement. It is the companion to the DMARC record generator and to the DMARC for MSPs pillar; the protocol itself is covered in the DMARC guide.

02

Key takeaways

  • Start every new domain with v=DMARC1; p=none; rua=mailto:... and nothing else.
  • RFC 9989 marks pct, rf and ri as historic. Do not publish them in new records.
  • New tags: np for non-existent subdomains, t for test mode, psd for public suffix domains.
  • Reports sent to another domain need an authorisation record under that domain (RFC 9990, Section 4).
  • Move p=none to p=quarantine to p=reject in full steps; use t=y if you want a rehearsal.
03

What does a DMARC record look like?

A DMARC record is a list of tag and value pairs separated by semicolons, published as TXT at _dmarc under the domain. A typical enforced record for an MSP client:

_dmarc.example.com.  TXT  "v=DMARC1; p=reject; rua=mailto:client-a@reports.msp.example"

Only v is strictly required, and it must come first. Without a p tag, receivers treat the record as p=none. Unknown tags are ignored, so a typo in a tag name fails silently, which is one reason to generate records rather than type them.

04

Which DMARC tags does RFC 9989 define?

RFC 9989, Section 4.7, defines these tags. Defaults apply when a tag is left out:

Tag Values Default Use it when
v DMARC1 none, required Always, as the first tag
p none, quarantine, reject treated as none Always: this is the policy
sp none, quarantine, reject value of p Subdomains need a different policy from the domain
np none, quarantine, reject value of sp, then p Non-existent subdomains need a stricter policy
rua mailto: addresses, comma-separated no reports Always: without it you are blind
ruf mailto: addresses no failure reports Rarely; failure reports raise privacy issues
adkim r (relaxed), s (strict) r You need strict DKIM alignment
aspf r (relaxed), s (strict) r You need strict SPF alignment
fo 0, 1, d, s 0 Only with ruf, to choose when failure reports are sent
t y, n n You want to test a policy one level softer
psd y, n, u u Only for public suffix domain operators, never for ordinary domains

Which tags were removed?

RFC 9989, Section 9.3, lists pct, rf and ri as historic: deprecated and not expected in current implementations. pct was the percentage of failing mail a policy applied to; there is no percentage ramp any more. ri was the reporting interval; RFC 9989 now says receivers should send aggregate reports at least once every 24 hours. rf set the failure report format. If an older template, tool or vendor still offers a pct field, leave it empty. The pct tag has been removed explains the change.

05

What is the safe starting record?

Every new deployment should start with three tags:

v=DMARC1; p=none; rua=mailto:<tenant>@<reporting-domain>

p=none gives visibility without affecting delivery, which is what the first weeks need while you find every sender. rua is what makes the record useful: the whole point of p=none is to collect reports. Leave everything else out until you have a reason. Relaxed alignment is the default and right for almost every domain, sp and np inherit from p, and ruf adds privacy questions without adding much.

p=none also meets the minimum DMARC requirement of Google, Yahoo and Microsoft for bulk senders. See Google and Yahoo sender requirements.

06

How should rua be set up?

Point rua at a mailbox or platform that processes the reports. There are three sound patterns:

  • A tenant address at your DMARC platform, one per client, so reports land in the right tenant.
  • An address on your own MSP domain that forwards to the platform. Switching vendors later then needs no change in every client's DNS.
  • Two addresses during a migration, comma-separated, so both old and new systems receive reports.

When the rua address is on a different domain from the policy domain, the receiving domain must authorise it. RFC 9990, Section 4, defines the record: for reports about client.example sent to msp.example, publish client.example._report._dmarc.msp.example as TXT with v=DMARC1. A wildcard, *._report._dmarc.msp.example, authorises reports for every domain at once. Without it, compliant receivers do not send reports, and the record silently produces nothing. Our guide to authorising external DMARC report destinations shows how to test the record and avoid the common naming mistakes.

Two further rules: the address must use the mailto: prefix, and the receiving mailbox must accept mail from any sender, because receivers cannot authenticate to you first.

07

How do you move from p=none to p=reject?

Move up one policy level at a time, each time only when the reports show every legitimate sender passing and aligned:

  1. p=none: collect reports, identify every sending service, fix SPF and DKIM for each.
  2. p=quarantine: failing mail goes to spam. Optionally publish p=quarantine; t=y first, which asks receivers to apply none instead, as a rehearsal.
  3. p=reject: failing mail is refused. Optionally rehearse with p=reject; t=y, which receivers apply as quarantine.

Each step applies to all failing mail; there is no partial percentage. RFC 9989, Section 7.4, adds a caution: domains whose users post to mailing lists should not jump to p=reject, and should spend at least a month at p=none and an equally long period at p=quarantine first. In practice that means checking for mailing-list and forwarding use before the final step. How to move from monitoring to enforcement safely sets out the evidence gate for each move.

08

When do sp and np matter?

Most domains need neither, because subdomains inherit p. Use them in two situations:

  • A subdomain policy that differs from the domain. For example, p=reject; sp=quarantine while a subdomain's senders are still being fixed. A separate _dmarc record on that subdomain works too, and is often clearer.
  • Non-existent subdomains. np=reject blocks mail from made-up subdomains such as invoices.example.com while real subdomains keep their own policy. Non-existent subdomains and the np tag covers it in detail.

For domains that send no mail at all, use p=reject straight away, with SPF -all. See should parked domains have a DMARC record?.

09

When should you use strict alignment?

Rarely. Strict alignment (adkim=s, aspf=s) requires the authenticated domain to match the From domain exactly, so a service that signs as mail.example.com no longer aligns with example.com. It breaks common, legitimate setups for little extra protection. Consider it only for a domain with a small, fully controlled set of senders.

10

What mistakes should you avoid?

  • Publishing pct, ri or rf. They are historic; receivers that implement RFC 9989 ignore them.
  • Missing mailto: in rua, or addresses separated by spaces instead of commas.
  • External reporting without authorisation, so reports never arrive.
  • Two DMARC records at the same name. Receivers then cannot choose, and the policy may not be applied at all.
  • ruf without rua. Failure reports without aggregate data give you samples with no context.
  • Jumping to p=reject without a monitoring phase on a domain that sends mail.
  • Using psd=y on an ordinary domain. It is meant only for public suffix operators.
11

How do you verify the published record?

Check two things after publishing:

  1. The record matches what you intended. Look up _dmarc.yourdomain with the DMARC checker or the DNS lookup tool. Escaping and quoting problems in DNS control panels are common.
  2. Reports start arriving. Aggregate reports should begin within a day or two. If none arrive, check the mailto: syntax, the receiving mailbox and the external authorisation record.

Record the publication date in your change log: the monitoring phase starts now.

12

FAQ

What is the minimum valid DMARC record?

v=DMARC1 alone is valid and is treated as p=none, but it sends no reports, so it is not useful. The practical minimum is v=DMARC1; p=none; rua=mailto: followed by an address that processes reports.

Can I still use pct in a DMARC record?

No. RFC 9989 marks pct as historic, and receivers that implement the current standard ignore it, so the full policy applies to all failing mail. Stage enforcement by policy level instead, and use t=y if you want a rehearsal.

Where do I publish the DMARC record?

As a TXT record at _dmarc under the domain, for example _dmarc.example.com. Publish only one DMARC record at that name. Subdomains can have their own record at _dmarc.sub.example.com when they need a different policy.

How often are DMARC aggregate reports sent?

RFC 9989 says receivers should send aggregate reports at least once every 24 hours, and most send one per day covering a UTC day. The old ri tag that requested an interval is historic and no longer used.

Do I need ruf for a compliant DMARC record?

No. ruf is optional, and many receivers do not send failure reports at all. RFC 9991 notes that failure reports raise significant privacy concerns, so most domains are better served by aggregate reports alone.

13

Final thoughts

A compliant DMARC record in 2026 is short: v=DMARC1, a policy and a reporting address, plus sp or np only when you need them. Leave out pct, ri and rf, authorise external report destinations, and move from p=none to p=reject in full steps once the reports show it is safe.

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.