On this page
  1. What a DMARC record is
  2. DMARC record tags explained
  3. DMARC record examples by goal
  4. Report addresses at another domain: the authorisation record
  5. Where to publish a DMARC record
  6. How to create a DMARC record
  7. Common DMARC record mistakes
  8. How to check your DMARC record
  9. FAQ

DMARC Record

A DMARC record is a DNS TXT record published at _dmarc.yourdomain.com that tells receiving mail servers what to do with mail that fails DMARC, and where to send reports.

Written by Relay, the Email Stack Review teamPublished Updated No ads or affiliate links
Choosing a sending service? See the best transactional email services.

A DMARC record is one line of text in your DNS, and most of the trouble people have with it comes down to the host name, a stray comma or a second copy. This page has the tag reference, copy-paste records for the usual goals, where to publish each one, and how to check what you published. New to the idea? Start with what DMARC is.

Key takeaways

  • A DMARC record is a TXT record at the host _dmarc, for example _dmarc.example.com. A domain has one.
  • Only v and (in practice) p matter to get started: v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com.
  • RFC 9989 (May 2026) removed pct, rf and ri and added np, psd and t. Unknown tags are ignored, so an old record keeps working. For the same reason a receiver that has not implemented t applies the full policy.
  • Report addresses at another domain need an authorisation TXT record at that domain.
  • Sending services do not publish the record for you. You add it at your DNS host.

What a DMARC record is

A DMARC record is plain text in DNS, type TXT, at the host _dmarc under your domain. The receiving server fetches it when a message uses your domain in the From address, and the record tells it what to do with mail that fails, and where to send reports. The format is a list of tag=value pairs separated by semicolons, starting with v=DMARC1 (RFC 9989, section 4.7, checked November 2026).

What DMARC is and why Gmail and Yahoo expect it are on what is DMARC. If a person is asking you what "DMARC DNS" means, this is the answer: it is that one TXT record.

DMARC record tags explained

RFC 9989 defines eleven tags: v, p, sp, np, adkim, aspf, rua, ruf, fo, psd and t. It removed three from the older RFC 7489, which most guides still quote. Defaults and values below are from RFC 9989 section 4.7 unless noted.

Tag What it does Values Required? Default
v Version. Must be the first tag DMARC1 (case sensitive) Yes; otherwise the record is ignored None
p Policy for mail that fails none, quarantine, reject Recommended. With no valid p and a valid rua, receivers act as if it were none None
sp Policy for existing subdomains Same as p No The p value
np Policy for non-existent subdomains (added in RFC 9989) Same as p No sp if present, otherwise p
adkim DKIM alignment mode r relaxed, s strict No r
aspf SPF alignment mode r relaxed, s strict No r
rua Where aggregate reports go Comma-separated URIs, usually mailto: No; with no rua, receivers must not send aggregate reports None
ruf Where failure (per-message) reports go Comma-separated URIs, usually mailto: No; with no ruf, receivers must not send failure reports None
fo Which failures to report. Ignored unless ruf is present 0, 1, d, s; combine with colons, for example 0:d (0 and 1 are mutually exclusive) No 0
psd Flag for a public suffix domain (added in RFC 9989) y, n, u No u
t Test mode (added in RFC 9989): y asks receivers not to apply the policy y, n No n
Removed in RFC 9989
pct Percentage of failing mail the policy applies to 0 to 100 in RFC 7489 Removed 100 in RFC 7489
rf Failure report format Defined in RFC 7489 Removed afrf in RFC 7489
ri Interval between aggregate reports Defined in RFC 7489 Removed 86400 seconds in RFC 7489

Per-tag notes:

  • p, sp, np. What the three values do to mail is on DMARC policy; here they are only tags. sp is ignored in a record published on a subdomain.
  • adkim and aspf. Relaxed means the domains share an organizational domain; strict means an exact match. The concept is explained on SPF, DKIM and DMARC explained.
  • rua and ruf. Google says Gmail does not support ruf, and Microsoft says it has no plans to send failure reports from Outlook.com (Google DMARC help, Microsoft's Outlook requirements post, checked November 2026). Aggregate and failure reports now have their own specs, RFC 9990 and RFC 9991. How to read them: DMARC reports.
  • psd. For public suffix operators, not for ordinary domains. RFC 9989 also replaces the public suffix list lookup with a DNS tree walk (section 4.10).
  • t. t=y asks the receiver to apply one policy level lower: quarantine as none, reject as quarantine. It does not change reporting. A receiver that has not implemented t ignores it and applies the full policy, so it does not replace reading your reports.
  • pct. RFC 9989 removed it because it was "usually not accurately applied, unless the value specified was either 0 or 100" (appendix A.6). Receivers must ignore unknown tags, so a record that still carries pct stays valid. Google's and Microsoft's docs (checked November 2026) still describe stepping up with pct; Google asks for a whole number from 1 to 100. The two views are compared on DMARC policy; the examples below use no pct.

DMARC record examples by goal

Each record below is an example for example.com. Copy it, change the addresses, and publish it as the TXT value at _dmarc.example.com. Which policy to choose is on DMARC policy, not here.

1. Monitor only. Use it when you are starting out and want reports before anything is enforced.

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

2. Quarantine in test mode. Use it when you want to try quarantine while receivers that follow RFC 9989 still treat failing mail as none. A receiver that has not implemented t ignores it (unknown tags are ignored, RFC 9989 section 4.7) and applies the full quarantine, so read your reports before relying on it.

v=DMARC1; p=quarantine; t=y; rua=mailto:dmarc-reports@example.com

3. Quarantine. Use it when every legitimate sender passes and you want failing mail treated as suspicious.

v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.com

4. Reject. Use it when reports show no legitimate failures and you want failing mail refused.

v=DMARC1; p=reject; rua=mailto:dmarc-reports@example.com

5. A different policy for subdomains. Use it when the main domain is at reject but existing subdomains are not ready. Here existing subdomains get quarantine and non-existent ones get reject.

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

6. Strict alignment. Use it when the From domain must match the DKIM and SPF domains exactly, not just the organizational domain.

v=DMARC1; p=quarantine; adkim=s; aspf=s; rua=mailto:dmarc-reports@example.com

7. Reports to a third-party analyzer. Use it when an outside service collects your reports. The address is at another domain, so that domain has to authorise it (next section).

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

A valid record starts with v=DMARC1, includes p (in practice, always), is TXT type, and is the only DMARC record on that name. These records are written by us for documentation, not copied from a vendor.

Report addresses at another domain: the authorisation record

If your rua address is at a different domain than the one publishing the record, the receiving server checks that the other domain agrees to get your reports. Without that check, anyone could point a flood of reports at a stranger's mailbox (RFC 9990, section 4, checked November 2026).

The check is a TXT record at <your domain>._report._dmarc.<host in the rua address> whose value contains at least v=DMARC1. If it is missing, the receiver ignores the address. For example 7 above, the host in the rua address is reports.analyzer.example.net, so the report side would publish this, usually done by the analyzer for you:

example.com._report._dmarc.reports.analyzer.example.net.  TXT  "v=DMARC1"

An address at your own organizational domain needs no such record. A service that collects reports for many domains can authorise them all with one wildcard record (RFC 9990, section 4).

Where to publish a DMARC record

Publish the record as a TXT record with the host (name) _dmarc, so the full name is _dmarc.example.com, and the record string as the value. A receiver first asks for _dmarc plus the From domain, and if there is no record it walks up to the organizational domain (RFC 9989, section 4.10.1).

That has two consequences for subdomains. A subdomain with no record of its own is covered by the parent's record, using sp or np if present. A subdomain that wants its own policy publishes its own TXT at _dmarc.sub.example.com.

DNS hosts differ in how they want the name and value; Cloudflare, Amazon Route 53 and GoDaddy are covered in the DNS host notes on the setup page. If your host shows the full name after you save it, check that it does not read _dmarc.example.com.example.com. The step-by-step path, with the SPF and DKIM checks that come first, is on how to set up DMARC.

Sending services do not publish the record for you. You add it at your DNS host. What each service says about DMARC help (a suggested record, a guide, a digest) is in the master table on SPF, DKIM and DMARC explained; the reviews are SendGrid, Amazon SES, Mailgun, Postmark, Resend and Mailtrap.

How to create a DMARC record

Three steps: pick the tags, build the string, publish it. Start from example 1 above. Add sp, np or alignment tags only if you have a reason, and add the policy you want from DMARC policy. Publish it at _dmarc as described above.

Third-party generators exist; we have no generator of our own, and a generator only builds the same string you can write by hand. Confirm that SPF and DKIM work for every sending service before you publish anything stricter than p=none.

Common DMARC record mistakes

Most invalid records come from one of these:

  • Wrong host. The record sits at dmarc.example.com, or the DNS host appended the domain twice. Fix: the name is _dmarc.
  • Two DMARC records. RFC 9989 says that when several records are returned for one name, they are all discarded (section 4.10). Fix: merge them into one.
  • No v=DMARC1 at the start. If v is missing, not first or not exactly DMARC1, the whole record is ignored. Fix: put it first.
  • No p. The record is only treated as p=none if it has a valid rua; with neither, receivers apply no DMARC processing. Fix: add p.
  • Commas instead of semicolons. Tags are separated by semicolons. Commas separate addresses inside rua and ruf.
  • rua without mailto:. Receivers must support mailto:; write rua=mailto:dmarc-reports@example.com.
  • An invalid address. rua takes a valid URI list; a bare address or a space breaks it.

"No DMARC record found" and "DMARC policy not enabled" are messages from DMARC checkers, not SMTP errors. What they mean and how to fix them is on fix SPF, DKIM and DMARC failures.

How to check your DMARC record

Ask DNS for the TXT record at _dmarc.example.com. Two commands do it:

dig TXT _dmarc.example.com +short
nslookup -type=TXT _dmarc.example.com

A correct answer is your record string, in quotes. Example output for example.com:

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

An empty answer or NXDOMAIN means no record at that name; see fix SPF, DKIM and DMARC failures. Two answers mean two records, which receivers discard.

Web checkers, named in no order and with no ranking: MxToolbox's DMARC check is free and parses the record; the dmarcian DMARC Inspector tests whether the TXT record is valid; Learn DMARC analyzes your setup when you send an email to its tester. Google's Admin Toolbox checks MX and SPF records, with an optional DKIM selector, and its Messageheader tool analyzes a pasted message header. We have no checker of our own. Once the record is live, reports start to arrive; reading them is on DMARC reports.

Ready to pick a service? Compare the best transactional email services.

DMARC record: FAQ

What is a DMARC record?

A DMARC record is a DNS TXT record at _dmarc.yourdomain.com that tells receiving mail servers what to do with mail that fails DMARC (neither SPF nor DKIM passes with an aligned domain), and where to send reports. It is a list of tag=value pairs starting with v=DMARC1. See what a DMARC record is.

What does a DMARC record look like?

The minimal record is v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com: the version, a monitoring-only policy and a report address, separated by semicolons. Example for example.com. More records by goal are in the examples.

Where do I add a DMARC record?

Add it at your DNS host as a TXT record with the name _dmarc, so the full name is _dmarc.example.com. The value is the record string. Your sending service does not publish it for you. See where to publish.

How do I check my DMARC record?

Run dig TXT _dmarc.example.com +short or nslookup -type=TXT _dmarc.example.com with your domain. A correct answer is your record string; an empty answer means no record. MxToolbox, dmarcian and Learn DMARC offer web checks. See how to check.

Can I have more than one DMARC record?

No. Keep one DMARC record per name. RFC 9989 (section 4.10) says that when several records come back for one name, they are all discarded, so a second copy removes your policy instead of adding to it. Merge any duplicates into a single record before you check again.

What is the difference between p and sp?

p is the policy for your domain. sp is the policy for its existing subdomains, and it defaults to the p value when absent. RFC 9989 added np for non-existent subdomains, which falls back to sp, then p. See the tag table and DMARC policy.

How do I add a DMARC record in Cloudflare or GoDaddy?

In both you add a TXT record named _dmarc. In Cloudflare, add a record of type TXT under DNS, Records. In GoDaddy, the Name field takes the prefix without the domain name, so the Name is _dmarc. The steps in order are on how to set up DMARC.

Why am I getting DMARC emails?

They are aggregate reports that receivers send to the address in the rua tag of someone's DMARC record, which points at your mailbox. If the record is yours, they are the data you asked for. If it is not, someone published your address. See DMARC reports.