Under RFC 9989, what must a DMARC policy record at _dmarc.example.com contain to be valid, and what does the smallest useful one say?
answer
- tag=value pairs in one TXT value
- semicolons between the tags
- which tag has to lead
- an exact, case-sensitive version string
- p missing but rua present
basics
~20 sA DMARC record must begin with v=DMARC1, spelled exactly, or receivers ignore it, and should carry p=none, quarantine or reject. The smallest useful one is v=DMARC1; p=none; rua=mailto: plus a report mailbox: monitoring with aggregate reports.
solid answer
~40 sUnder RFC 9989 (May 2026) the record is one TXT value of `tag=value` pairs separated by semicolons. `v=DMARC1` is the only REQUIRED tag: it must come first and its value is case-sensitive, so a record that opens with `p=` or says `v=dmarc1` is ignored entirely. `p=` is RECOMMENDED and takes `none`, `quarantine` or `reject`; a record with no valid `p=` but a usable `rua=` is processed as if it said `p=none`, and one with neither gets no DMARC processing. Every other tag is optional. The smallest record worth publishing is `v=DMARC1; p=none; rua=mailto:[email protected]`: it declares participation, asks for no change in handling, and requests the aggregate reports an owner needs before enforcing.
go deeper
Recall the two essentials: v=DMARC1 first and exactly spelled, then p= with none, quarantine or reject. Be able to write the monitoring record from memory, report address included.
Explain what happens when p= is missing: a usable rua= turns the record into p=none, and without one there is no DMARC at all. Mention that unknown tags are ignored.
Show you audit for silent failures: a record that does not open with v=DMARC1 publishes nothing, and nothing warns the owner. Name the RFC 7489 habits, such as pct=, that templates still carry.
Frame the record as a public statement the organisation owns: who may edit it, how changes are reviewed, and why every sending domain should have an explicit record rather than relying on defaults.
## What a DMARC policy record is A domain owner tells receivers how to judge mail that carries its domain in the From header by publishing a **DMARC policy record**: one TXT value at the name formed by putting `_dmarc` in front of the domain, so `_dmarc.example.com` for `example.com`. **RFC 9989** (May 2026, Standards Track) defines the record and, with RFC 9990 and RFC 9991, obsoletes **RFC 7489** (March 2015, Informational). How TXT records and underscore names work in DNS is covered with DNS record types; this answer is about what goes inside the value. The value is a list of **tag=value pairs** separated by semicolons, the same extensible syntax DKIM uses for its key records: ```dns _dmarc.example.com. 3600 IN TXT "v=DMARC1; p=none; rua=mailto:[email protected]" ``` - Whitespace around `=` and `;` is allowed, and a trailing semicolon is optional. - If the TXT value is split into several quoted strings, the receiver must join them in order and parse the result as one string. - Tags the receiver does not know **must be ignored**. That rule is what lets new tags be added without a new version number. ## The one required tag: v=DMARC1 `v` is the only **REQUIRED** tag, and RFC 9989 is strict about it: 1. It **must be the first tag** in the list. 2. Its value must be exactly `DMARC1`, and the value is case-sensitive. 3. If the tag is not first, is missing, or carries any other value, the **entire record must be ignored**. So `p=reject; v=DMARC1`, `v=dmarc1; p=reject` and `v=DMARC2; p=reject` all publish nothing a receiver will use. There is no partial credit: a record that fails this test counts exactly like a name with no DMARC record at all. Nothing tells the domain owner, either; the mistake is silent until someone reads the record. ## p: the policy tag, and what happens without it `p` states the domain owner's preference for mail that fails DMARC: `none` (no expression of preference), `quarantine` (the mail is suspicious) or `reject` (the use of the domain is not valid). What a receiver actually does with each value is covered with DMARC policy enforcement. RFC 7489 made `p` REQUIRED and expected it straight after the version tag; RFC 9989 makes it **RECOMMENDED** and spells out the fallback when it is missing or invalid: | What the published value contains | What a receiver acts on | |---|---| | `v=DMARC1` first and a valid `p=` | that `p=` value | | `v=DMARC1` first, no valid `p=`, and a `rua=` with at least one valid URI | the record as if it said `p=none` | | `v=DMARC1` first, no valid `p=`, no usable `rua=` | no DMARC processing for the message | | no value starting with `v=DMARC1` at the name | no record at that name; the receiver's search may still reach a parent domain's record | The fallback is the reason a record that only asks for reports still works: `v=DMARC1; rua=mailto:[email protected]` is read as monitoring. It is also why leaving `p=` out is poor practice: the record means `none` whether or not that was intended. ## The smallest useful record The record most domains publish first is the monitoring record from RFC 9989's own example (Appendix B.2.1): `v=DMARC1; p=none; rua=mailto:[email protected]` It does three things and nothing more: - it declares that the domain takes part in DMARC; - with `p=none`, it asks receivers not to change how they handle failing mail; - with `rua=`, it asks receivers for **aggregate reports**, which show which sources send as the domain and whether they authenticate. The `rua=` part is what makes it useful. If the tag is absent, receivers **must not** generate aggregate reports, so `v=DMARC1; p=none` on its own declares participation and teaches the owner nothing. Everything else (`sp`, `np`, `adkim`, `aspf`, `ruf`, `fo`, `t`, `psd`) is optional and has a default or simply does nothing when absent. ## Mistakes in a first record - **Putting `p=` first** because it is the important tag: the record is then ignored, because `v=DMARC1` must lead. - **Writing the version in lower case**: `DMARC1` is matched exactly. - **Assuming no record means `p=none`**: with no record, receivers apply no DMARC at all and send no reports. `p=none` is a published statement with a report address behind it. - **Copying a template that still carries `pct=`, `rf=` or `ri=`**: RFC 9989 removed them, and a receiver that follows it ignores them as unknown tags. - **Publishing at the wrong name**: the record lives at `_dmarc.example.com`, not at `example.com` beside the SPF record.
- Does the order of the tags after v=DMARC1 matter under RFC 9989?No. RFC 9989 requires only that `v=DMARC1` come first; the other tags may appear in any order and a trailing semicolon is optional. RFC 7489 expected `p=` straight after the version tag, so writing `v=DMARC1; p=...` first keeps the record conformant to both texts.
- What happens if the DMARC record's TXT value is split into several quoted strings?Nothing goes wrong as long as the split is clean. A TXT record can hold several character-strings, and RFC 9989 requires the evaluator to join them in order and parse the result as one string. The join adds no separator, so keep the semicolon and any space inside the strings, at a tag boundary.
- Is a domain that publishes no _dmarc record treated as if it had p=none?No. When neither the From domain nor any parent domain the receiver checks has a valid DMARC record, the receiver must not apply DMARC to the message, and nobody is asked for reports. `p=none` is a published record with a report address behind it; absence is simply no participation.
- The version tag can appear anywhere in the record.
- v=dmarc1 in lower case is accepted just the same.
- Every DMARC record must list p, sp, rua and ruf to be valid.
- Publishing no DMARC record is the same as publishing p=none.
- v=DMARC1; p=none without rua still produces useful reports.