How DMARC Policy Applies to Subdomains
Work out a sending subdomain’s effective DMARC policy, then use policy and alignment checks to onboard an authorized email service.
- dns
- dmarc
- email-authentication
- guide
For a message from billing@receipts.example.com, DMARC first looks for a record at _dmarc.receipts.example.com. A valid policy there can set the child’s own p value. Without a valid child policy, a receiver following RFC 9989 searches DNS for the applicable organizational or public suffix domain policy. That inherited record can distinguish existing subdomains (sp) from nonexistent ones (np). RFC 9989 specifies policy discovery and defines the tags.
Work through four messages in one example zone
Assume example.com is the organizational domain. The TXT record at _dmarc.example.com is v=DMARC1; p=none; sp=quarantine; np=reject. Assume support.example.com and receipts.example.com exist in DNS. Only _dmarc.receipts.example.com also publishes a child policy, v=DMARC1; p=none. The results below describe the requested handling of mail that fails DMARC. Receivers can make their own delivery decisions.
| Visible From domain | Policy source | Requested handling for a failure |
|---|---|---|
example.com | _dmarc.example.com | p=none |
support.example.com | _dmarc.example.com | sp=quarantine |
receipts.example.com | _dmarc.receipts.example.com | Child p=none |
unused.example.com, assumed nonexistent in DNS | _dmarc.example.com | np=reject |
Here, the child policy changes receipts mail without changing the handling preference for support mail. Keep the difference between a non-sending subdomain and a nonexistent one clear. A deployed website subdomain can exist in DNS even if nobody sends mail from it. Use the standard’s tag definitions to interpret the policy that actually applies.
Confirm alignment separately from policy
Consider a receipt provider signed as d=mailer.vendor.example. A passing signature from that unrelated domain alone does not align with the visible From address at receipts.example.com. Ask the vendor to configure a signing identity that aligns with the intended From domain. A valid signature with d=receipts.example.com would match it exactly. Conversely, a passing SPF result may only help if the authenticated domain also aligns. Under relaxed alignment the organizational domains can match. Strict alignment requires the same domain. RFC 9989 describes identifier alignment.
Stage the service with a measurement and a rollback path
- Query TXT at both the intended child policy name and the parent’s policy name. Record the existing values and the expected policy domain rather than assuming the UI selected the right zone.
- Send a message through the actual service to controlled mailboxes. Record the visible From domain, authenticated SPF and DKIM domains, and DMARC result from the recipient’s message details. Repeat for each legitimate mail stream.
- Review receiver reports where available before changing enforcement. If you want the explicit child policy to request aggregate reports, configure and validate the reporting destination in the selected policy. An external report destination can require authorization. RFC 9990 covers reporting and destination verification.
- Before removing a temporary child record, recalculate the inherited policy. In the example, deleting the receipts record moves failures from
nonetoquarantine. Preserve the previous DNS values and continue to test through the change.
