skip to content

Under RFC 9990 DMARC, why do receivers ignore an rua address on an outside report processor's domain, and what record authorizes it?

level: middleimportance: nice to knowfreq 16%

answer

  1. consent from the receiving side
  2. compare organizational domains
  3. _report._dmarc under the destination host
  4. policy domain on the left
  5. v=DMARC1 first, or ignored

basics

~10 s

When the rua host's organizational domain differs from the policy record's, receivers MUST look for a TXT record starting v=DMARC1 at <policy-domain>._report._dmarc.<destination-host>, published by the report processor; without it the address is ignored.

solid answer

~40 s

RFC 9990 section 4 makes an outside report destination prove it agreed. If the Organizational Domain where the DMARC record was found differs from that of the host in the `rua` URI, the receiver builds a name from the policy domain, the string `_report._dmarc` and the destination host - for `example.com` sending to `mailto:[email protected]` that is `example.com._report._dmarc.reports.example.net` - and queries it for TXT. At least one record there must begin with `v=DMARC1`; otherwise the receiver MUST ignore that URI. The **report consumer** publishes it, not the domain owner, and can use a wildcard such as `*._report._dmarc.reports.example.net`. RFC 9991 applies the same check to `ruf`. It exists so nobody can aim a flood of reports at a mailbox that never agreed to take them.

code

dns · 8 lines
dns
; example.com's zone - the policy record names an outside destination
_dmarc.example.com.  IN TXT "v=DMARC1; p=none; rua=mailto:[email protected]"

; example.net's zone - the report consumer consents for example.com
example.com._report._dmarc.reports.example.net.  IN TXT "v=DMARC1"

; or, to accept reports for any domain
*._report._dmarc.reports.example.net.  IN TXT "v=DMARC1"

go deeper

for a junior

Recall that reports to another organisation's mailbox need that organisation's consent, published as a DNS record under _report._dmarc.

for a middle

Build the query name from the policy domain and the destination host, and explain why the record lives in the destination's zone.

for a senior

Diagnose silent report loss after a move to an outside processor: wrong left-hand name, missing v=DMARC1, the TTL lag on removal, and the same check applied to ruf.

for a principal

Decide between reporting to your own domain and forwarding, or relying on a processor's consent record, weighing DNS dependence, privacy of failure data and who controls the stream.

## Why an outside destination has to consent A DMARC record's `rua` tag (and `ruf` for failure reports) can name any mailbox, including one in a domain the owner does not control. That is useful: a domain that does not receive mail, or an organisation that sends its reports to a specialist report processor, needs it. Without a check it would also let anyone publish a record pointing reports at a mailbox that never asked for them, so that every receiver's report about failing mail lands there. RFC 9990 section 4 therefore requires the **destination** to confirm that it accepts reports for the requesting domain. RFC 9991 section 5 applies the same procedure to `ruf`, which matters even more because failure reports can carry message content. ## When the check applies The receiver compares two **Organizational Domains**: - the one at which the DMARC record was discovered, and - the one of the host part of the `rua` URI. If they are identical - `example.com` sending reports to `mailto:[email protected]` - no check is needed. If they differ - `example.com` sending to `mailto:[email protected]` - the check is mandatory, even when the same company owns both domains. ## The procedure 1. Take the host part of the URI: `reports.example.net`. RFC 9990 calls it the destination host. 2. Prepend `_report._dmarc`. 3. Prepend the domain from which the policy was retrieved (as an A-label if it is internationalised): `example.com._report._dmarc.reports.example.net`. 4. If the name exceeds DNS length limits, the relationship cannot be confirmed; stop. 5. Query that name for TXT. On a temporary DNS error the receiver MAY delay and retry. 6. Parse each record as DMARC tag=value pairs; `v=DMARC1` MUST come first, and records that fail this are discarded. 7. If no record survives, the external relationship is not confirmed and the URI MUST be ignored. 8. If a record survives and carries its own `rua`, that value replaces the one from the domain's record - but it MUST use the same destination host, to prevent loops. If the confirming record points at a different host again, the receiver MUST NOT send a report to either address. ## Who publishes what | Party | Publishes | Where | |---|---|---| | Domain owner | the DMARC record with `rua=mailto:...` | `_dmarc.example.com` | | Report consumer | a TXT record beginning `v=DMARC1` | `example.com._report._dmarc.reports.example.net` | | Report consumer accepting any domain | a wildcard | `*._report._dmarc.reports.example.net` | The record lives in the **consumer's** zone. A domain owner cannot authorise its own outside destination by publishing anything in its own zone - that is the point of the check. A `p` tag has no meaning in this record; RFC 9989 says `p` is not applicable for third-party reporting records. ## Diagnosing missing reports When an organisation switches to an outside report processor and reports stop arriving, the usual causes are: - the processor has not published the confirming record for this domain, or published it under the wrong name; - the left-hand part names the subdomain that sent the mail rather than the domain where the DMARC record was found; - the record does not begin with `v=DMARC1`; - the constructed name is too long for DNS. A quick test is to build the name yourself and query it for TXT. Remember that a processor which wants to stop receiving a domain's reports simply removes the record, and positive caching means receivers may keep sending for up to the record's TTL. ## Related operational notes - RFC 9989 section 11.6 notes that domains claimed as external recipients take extra DNS load, and suggests that where possible external reporting is best done by sending reports to a domain that can receive mail and forwarding them automatically to the outside destination. - Failure-report destinations are more attractive targets than aggregate ones, because they may receive message content; RFC 9989 advises DNSSEC where redirection through DNS is a concern. - A destination that receives reports for many customers can publish the wildcard, so adding a new customer needs no DNS change on its side - at the price of accepting reports for any domain that names it. - An address inside the policy domain's own Organizational Domain needs no consent record, so it should be a dedicated mailbox read by a parser, not a personal inbox. The external-destination check is also why switching processors is a two-sided change. The domain owner edits `rua` in its own record; the new processor must already have its consent record (or wildcard) in place, or the reports for the period in between never reach it, and no report arrives at that address to say why.

  • Can the report consumer redirect a domain's DMARC reports to a different mailbox through the confirming record?
    Partly. If the TXT record at `<policy-domain>._report._dmarc.<destination-host>` carries its own `rua`, RFC 9990 lets it replace the domain's value, but the new URI MUST use the same destination host. If it points to another host, the receiver MUST NOT send reports to either address.
  • Does the external-destination check apply when example.com sends reports to example.org, which the same company owns?
    Yes. The test compares Organizational Domains, not ownership. `example.com` and `example.org` are different Organizational Domains, so `example.org` must publish `example.com._report._dmarc.<host>` with `v=DMARC1`, or use a wildcard, before receivers send there.

  • The domain owner publishes the authorising record in its own zone.
  • An MX record for the report address is enough authorisation.
  • The check is skipped when both domains belong to the same company.
  • The confirming record must repeat the domain's p policy.
  • The check applies only to aggregate reports, never to ruf.