Skip to content
Claim your free business email

DMARC record: what it is, a record example, and how to add one to your domain

DMARC record for a domain: an envelope passing a policy gate with three settings, one dial turned to the middle.

A DMARC record is a TXT record at _dmarc on your domain. It tells receiving mail servers what to do with a message that shows your domain in its From address but passes neither SPF nor DKIM for it, and where to send reports. Enter your domain in our free DMARC checker to see yours.

Most people meet this record in one of two ways. A mailbox provider’s sender rules say bulk senders need one, or a report shows a server you have never heard of sending mail as your domain. If you have no record yet, the DMARC record generator builds a safe first one in a minute. Below: every tag, the three policies, the report address, alignment, and the mistakes that make receivers ignore a record.

What is a DMARC record?

A DMARC record is one DNS TXT record, published at the name _dmarc.yourdomain, that holds your domain’s DMARC policy. DMARC stands for Domain-based Message Authentication, Reporting and Conformance. RFC 9989 defines it today; it replaced RFC 7489 in May 2026, and records written for either one read the same way in practice. The record does three jobs: it states a policy for mail that fails, it asks receivers for reports, and it says how closely the authenticated domains must match yours.

So what is a DMARC record checking? The From address, the one a reader sees. SPF checks the envelope sender, a bounce address the reader never sees, and DKIM checks whichever domain signed the message. Neither one on its own says anything about the From address, which is the gap forgers use. DMARC closes it by requiring SPF or DKIM to pass for a domain that matches the From domain. DKIM, SPF and DMARC explained covers the other two records; the glossary entry for DMARC has the one-paragraph version.

A receiver that supports DMARC does this with every message:

  • Takes the domain from the From header, say news.example.com.
  • Looks up TXT at _dmarc.news.example.com. If there is no DMARC record there, it uses the one at the domain you registered, _dmarc.example.com. RFC 9989 finds that domain by walking up the DNS tree (§4.10); receivers still on RFC 7489 use the Public Suffix List.
  • Checks SPF and DKIM, and whether either passing domain matches the From domain.
  • Passes the message if one matches, or applies your policy if none does, and records the result for your daily report.

What does a DMARC record look like?

A DMARC record is a short line of tag=value pairs separated by semicolons, and it always starts with v=DMARC1. Here is a DMARC record example: the first record we suggest for a new sending domain, as it sits in a zone file.

_dmarc.example.com.   3600   IN   TXT   "v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com"
  • _dmarc.example.com. is the name. The _dmarc label is fixed; receivers look nowhere else.
  • 3600 is the TTL: how many seconds resolvers may keep the answer before asking again.
  • v=DMARC1 marks it as a DMARC record. It must come first and be written exactly so, or receivers ignore the whole record (RFC 9989 §4.7).
  • p=none is the policy: watch and report, change nothing.
  • rua=mailto:dmarc-reports@example.com is where daily reports go.

Every other tag is optional, and a tag a receiver does not know is ignored. These are the ones you will meet:

DMARC record tags
TagWhat it setsValues, and the default
vThe version. Required, and always first.DMARC1
pThe policy for mail that fails DMARC.none, quarantine or reject. A record without it is read as none.
spThe policy for subdomains that exist but have no record of their own. Read only on the registered domain's record.none, quarantine or reject. Default: the p value.
npThe policy for subdomains that do not exist in DNS, which spoofers like to invent.none, quarantine or reject. Default: sp, then p.
ruaWhere aggregate reports go.mailto: addresses, separated by commas. No rua, no reports.
rufWhere per-message failure reports go, from the few receivers that send them.mailto: addresses, separated by commas.
foWhen a failure report is wanted. Ignored without ruf.0 (default), 1, d or s.
adkimHow closely the DKIM signing domain must match the From domain.r relaxed (default) or s strict.
aspfHow closely the SPF domain must match the From domain.r relaxed (default) or s strict.
tA testing flag from RFC 9989: y asks receivers to apply one step less than your policy.y or n (default n).
pctRFC 7489's share of failing mail the policy covers. RFC 9989 removed it.0 to 100 (default 100).

Spaces after the semicolons are optional, and so is the order of everything after v. A stricter record, for a domain whose reports show every sender passing, looks like this:

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

On pct: you will still see it in records, in setup panels and in our own checker, because receivers that have not moved to RFC 9989 read it and the ones that have ignore it. RFC 9989 gave its testing role to t=y. Write a record that reads the same under both, and treat any pct below 100 as possibly 100. The rf and ri tags went too, and psd is only for the operators of public suffixes such as a country code; leave it out.

How do I create and add a DMARC record?

You create a DMARC record by writing its value, then add it as a TXT record named _dmarc at the DNS host for your domain, which is usually where you bought the domain. Here is how to add a DMARC record, step by step:

  1. Check for an existing record — Look up TXT at _dmarc on your domain with a DMARC checker. If a record is there, you will edit it rather than add a second one.
  2. Build the record — Write v=DMARC1; p=none; rua=mailto: followed by a mailbox that can take a daily report, or build it with a DMARC record generator.
  3. Add a TXT record at _dmarc — At the DNS host for your domain, add a TXT record with the name _dmarc and the record as its value, or replace the old value.
  4. Wait for DNS — A new record usually answers within minutes. A changed one can show its old value until the old TTL has passed.
  5. Check it — Run the domain through the DMARC checker again. It should find one valid record with your policy and report address.

The DMARC record generator writes the value for you. You pick the policy, a subdomain policy, the alignment modes and the report addresses, and it leaves out every tag that would only repeat its default. When a report address is on another domain, it also shows the record that domain has to publish. In the DNS panel the record is four fields:

The four fields of a DMARC record in a DNS panel
FieldWhat to enter
TypeTXT
Name or Host_dmarc on its own. Most panels add your domain after it.
Value or ContentThe record, starting v=DMARC1. Most panels add the outer quotes themselves.
TTLThe panel's default, or 3600 seconds.

The host name trap

A panel that adds your domain to the Name turns _dmarc.example.com into _dmarc.example.com.example.com, where no receiver looks. Look at a record already in the panel: if its Name is a bare label such as www, type _dmarc alone.

Publish exactly one record at that name. When _dmarc returns two records that start v=DMARC1, receivers discard both and your domain has no policy at all (RFC 9989 §4.10). To change a record, edit the one that is there.

One record on the domain you registered covers its subdomains too, so mail.example.com and news.example.com need no record of their own. Give a subdomain its own record only when it needs a different policy. If you send through Rasket and no DMARC policy covers your domain yet, the domain page shows the starter record above with your domain filled in. A missing DMARC record never stops a domain from verifying.

What do p=none, p=quarantine and p=reject do?

The p tag is your DMARC policy: p=none asks receivers to change nothing, p=quarantine asks them to treat failing mail as suspicious, and p=reject asks them to refuse it. It only ever applies to mail that fails DMARC. Mail that passes is judged on everything else, as before.

The three DMARC policies
PolicyWhat RFC 9989 says it meansWhat receivers usually do
p=noneNo expression of preference.Deliver as they would have, and send reports. It must not change handling (§5.4).
p=quarantineThe mail is suspicious, though it may be valid.Put it in the spam folder.
p=rejectFailing mail is a clear sign the domain was used without permission.Refuse it during delivery, so the sender gets a bounce and the recipient sees nothing.

The policy is a request. RFC 9989 §5.4 leaves the final call to the receiver, and asks receivers not to reject on the policy alone but to weigh their own evidence first, so a message can be filtered at p=none or delivered at p=reject. What the policy does reliably is tell the large receivers what you would like done with mail that cannot prove it is yours.

Subdomains: sp and np

sp sets the policy for subdomains that exist, and np for names under your domain that do not exist at all, such as billing-alerts.example.com invented for a phishing run. v=DMARC1; p=quarantine; sp=quarantine; np=reject quarantines failures from the domain and its real subdomains and rejects the made-up ones. Both tags are read only from the record on the domain you registered. np is new in RFC 9989; a receiver still on RFC 7489 applies sp instead.

Moving from none to reject

Start at p=none with a report address, read the reports until every service that sends as you passes, then move to p=quarantine and finally p=reject, lowering the TTL a day before each change so you can step back quickly. That rollout, with how long to hold each stage and how to rehearse reject with t=y, is its own guide: moving DMARC from p=none to p=reject.

What is the DMARC rua address, and what arrives there?

The DMARC rua address is the mailbox in your record’s rua tag, written as a mailto: URI, where receivers send aggregate reports: summaries of every message that used your domain in its From address. Without a rua tag receivers must not send any (RFC 9989 §4.7), so a record with no DMARC rua address enforces a policy while showing you nothing.

Receivers that report should send one at least every 24 hours (§5.3.8), as a gzipped or zipped XML file attached to an email. Each receiver that reports sends its own, so expect one a day from each large mailbox provider your mail reaches; many smaller receivers send none. Each report lists, for every sending IP address:

What a DMARC aggregate report contains
FieldWhat it tells you
source_ipThe server that sent the mail.
countHow many messages it sent as your domain that day.
policy_evaluatedWhether DKIM and SPF passed with alignment, and what the receiver did: none, quarantine or reject.
auth_resultsThe raw SPF and DKIM results, with the domain each one checked.

A row where both aligned checks fail is either a forger or a service of yours that is not set up yet; the reports are how you tell the two apart before tightening the policy. Send them to a mailbox that exists only for them, such as dmarc-reports@yourdomain, so they never bury anyone’s inbox. The overview post shows one report row read line by line, with a short script that lists the failing rows.

Reports to an address on another domain

A receiver sends reports to an address outside your domain only if that domain agrees to take them (RFC 9990 §4). For reports about example.com going to dmarc@reports.example.net, the other domain publishes:

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

Without it, reports to that address never arrive, and nothing tells you why. A DMARC report service publishes this record for its customers; for any other address on another domain, ask whoever runs it.

ruf: failure reports

The ruf tag asks for a report per failing message, with parts of the message in it. Few receivers send them, and those that do often strip most of the content for privacy (RFC 9989 §5.3.9, RFC 9991). Leave ruf out unless you are chasing a specific problem.

What is DMARC alignment, relaxed or strict?

DMARC alignment is the match between the domain in the From address and a domain that SPF or DKIM authenticated: relaxed alignment accepts any domain under the same registered domain, and strict alignment needs exactly the same name (RFC 9989 §3.2.10). Relaxed is the default. adkim sets it for DKIM and aspf for SPF.

Which authenticated domains align with a From address at example.com
From example.com, authenticated domainRelaxed (default)Strict (s)
DKIM signed with d=example.comAlignedAligned
DKIM signed with d=mail.example.comAlignedNot aligned
SPF passes for bounces.example.comAlignedNot aligned
SPF passes for a sending service's own domainNot alignedNot aligned

The last row is the usual reason DMARC fails while SPF says pass: a service sent your mail with its own bounce address, so SPF passed for its domain, not yours. The fix is DKIM signed with your domain, or a bounce address on a subdomain of yours, both of which the service’s domain settings normally offer. Sending services put the bounce address on a subdomain, so strict SPF alignment fails for them; leave both tags at relaxed unless you have a specific reason. The glossary entry on alignment has the definitions side by side.

SPF can also fail for every message at once. A record that needs more than ten DNS lookups returns a permanent error instead of a pass, and DMARC then rests on DKIM alone. SPF PermError and the 10 DNS lookup limit shows how to count the lookups and get back under.

Do I need a DMARC record?

Yes if you send more than 5,000 messages a day to Gmail or count as a bulk sender at Yahoo, and it is worth having at any volume because p=none changes nothing about delivery and shows you who sends as your domain. Both mailbox providers set their rules on their own sender pages:

DMARC requirements at Gmail and Yahoo
GmailYahoo
Who it applies toSenders of more than 5,000 messages a day to Gmail accountsBulk senders
Since1 February 2024February 2024
DMARC recordRequired; the policy can be noneRequired, at least p=none
AlignmentThe From domain must align with SPF or DKIMThe From domain must align with SPF or DKIM; relaxed is acceptable
Report addressRecommendedStrongly recommended
Every senderSPF or DKIMSPF or DKIM

The rest of those rules, from spam rates to one-click unsubscribe, are in the bulk sender checklist. Meeting them takes p=none; stopping other people from sending as your domain takes p=quarantine or p=reject.

A domain that sends no mail at all needs one too, a strict one, because an unused domain is an easy one to spoof. Publish v=DMARC1; p=reject at _dmarc and v=spf1 -all at the domain itself. The reserved domain example.com does exactly that, as the lookup below shows.

How do I check my DMARC record?

You check a DMARC record by looking up the TXT record at _dmarc on your domain, with the DMARC checker or with dig in a terminal. The checker reads the record at _dmarc.yourdomain, and when there is none it reads the record of the registered domain that covers it. It fails a domain with two records or with a record receivers would ignore. Then it gives a row for each part:

  • the policy in plain words, and the subdomain policy;
  • pct, the alignment modes, and whether every tag is valid;
  • each report address, and for up to four outside domains, whether that domain accepts your reports;
  • whether the domain publishes SPF;
  • the next step toward reject, with the record to publish for it.

From a terminal, one command shows what receivers see:

$ dig +short TXT _dmarc.example.com
"v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s"

One line back means one record. No output means nothing is published at that name: check the host name trap above. Two lines means two records, and receivers use neither. A new record usually answers within minutes, but a changed one can return its old value until the old TTL runs out.

The record is half of the check. The other half is the verdict on real mail: open a message you sent in Gmail, choose Show original, and look for dmarc=pass. A dmarc=fail beside spf=pass is the alignment problem in the section above.

What goes wrong with a DMARC record, and how do I fix it?

Most broken DMARC records fail in one of six ways, and each has a short fix. The checker names the first four directly; the last two show up in your reports.

Common DMARC record problems and fixes
ProblemUsual causeFix
No record foundPublished at the domain itself, or as _dmarc.example.com.example.com.Name the record _dmarc and check again once its TTL has passed.
Two DMARC recordsA new record was added beside the old one.Merge them into one and delete the other.
The record is ignoredIt does not start with v=DMARC1, a semicolon is missing, or the panel saved curly quotes.Start with v=DMARC1; and separate every tag with a semicolon, in plain text.
No reports arriveNo rua tag, or an address on another domain that has not authorised your reports.Add rua, or ask that domain to publish its _report._dmarc record.
Your own mail goes to spam after quarantineA service that sends as you has no aligned SPF or DKIM.Set up DKIM with your domain on that service; go back to p=none while you do.
Still at p=none a year laterNobody reads the reports, so nobody knows what would break.Read a month of reports, fix each failing sender, then quarantine.

After any fix, run the domain through the DMARC checker again. Its next step row tells you what to change next, and the generator builds that record.

Check yours

DMARC checker

Is my DMARC record set up, and what should my policy be?

Build a DMARC record

Published Updated 15 min readBy the Rasket team

Written for small business owners, developers and IT admins

Frequently asked questions

Where exactly do I put a DMARC record?

In the DNS for your domain, as a TXT record whose name is _dmarc. In most DNS panels you type _dmarc alone in the Name or Host box and the panel adds your domain, so the full name becomes _dmarc.yourdomain. It does not go at the domain itself, beside your SPF record.

Can a domain have more than one DMARC record?

No. If the lookup at _dmarc returns two records that start with v=DMARC1, receivers discard both and treat the domain as having no policy (RFC 9989 section 4.10). To change your policy or add a report address, edit the one record that is there.

Does each subdomain need its own DMARC record?

No. A subdomain with no record of its own is covered by the record on the domain you registered, using its sp policy when it sets one and p otherwise. Publish a separate record for a subdomain only when it needs a different policy or different report addresses.

Should I start with p=reject?

Not on a domain that sends mail. At p=reject, mail from a service you forgot to set up is refused before any report has shown it to you. Start at p=none with a rua address, fix every sender the reports show failing, then move to quarantine and to reject.

How long does a new DMARC record take to work?

Usually minutes: receivers look it up on each message, and a name that never existed is answered as soon as resolvers ask again. An edited record can keep its old value until the old TTL runs out, often an hour. The first aggregate reports arrive within a day or two.

Do I need SPF and DKIM before adding DMARC?

You need at least one of them passing for your own domain, or every message fails DMARC. Set up both for each service that sends as you: SPF breaks when mail is forwarded, while a DKIM signature usually survives it. A p=none record is safe to publish first; it only turns on reports.

What is the difference between rua and ruf?

rua receives aggregate reports, one summary a day from each receiver that reports, listing every sending IP address and whether its mail passed. ruf receives per-message failure reports, which few receivers send and most strip for privacy. Almost every domain wants rua and can leave ruf out.

Sources

  1. RFC 9989: Domain-Based Message Authentication, Reporting, and Conformance (DMARC), sections 3.2.10, 4.7, 4.10, 5.3.8, 5.3.9 and 5.4 — IETF, read 2026-11-20
  2. RFC 7489: DMARC (obsoleted by RFC 9989), sections 3.1, 6.3 and 6.6.3 — IETF, read 2026-11-20
  3. RFC 9990: DMARC Aggregate Reporting, section 4 — IETF, read 2026-11-20
  4. RFC 9991: DMARC Failure Reporting — IETF, read 2026-11-20
  5. Gmail: Email sender guidelines — Google, read 2026-11-20
  6. Sender Requirements & Recommendations — Yahoo, read 2026-11-20
  • DMARC p=reject: move from p=none safely — Move DMARC from p=none to p=reject without losing mail: read aggregate reports, align every sender with DKIM, quarantine, then reject, and roll back fast.
  • Gmail bulk sender requirements (2026 Full Guide) — What every Gmail sender must do, what bulk senders add, and Yahoo and Outlook.com side by side: SPF, DKIM, DMARC, unsubscribe, spam rate and error codes.
  • DKIM, SPF and DMARC explained (2026 Full Guide) — What SPF, DKIM and DMARC each check, how to read the verdicts on a sent message, the records to publish, and what Gmail and Outlook.com require of senders.
  • DMARC — DMARC tells receiving servers what to do with mail that claims to be from your domain but fails DKIM and SPF. You publish one TXT record naming a policy,…
  • DMARC alignment — Alignment is the part of DMARC that asks whether the domain that passed authentication is the same one the reader sees. A DKIM signature or an SPF check can…

Start sending this morning

Sign up, verify a domain and send your first email in minutes.