Guides
DMARC for subdomains: sp and np explained
18 November 2026
A DMARC record on example.com also covers its subdomains, such as shop.example.com, unless a subdomain publishes its own record. The sp tag sets a different policy for subdomains that exist, and the np tag, new in RFC 9989, sets one for subdomains that do not exist at all. SPF and DKIM do not inherit this way. Every subdomain that sends mail needs its own SPF record and DKIM setup.
Subdomains are where most domains have gaps: a forgotten newsletter subdomain, a test environment, an old campaign. A $129 Snapshot checks the DMARC policy that covers your sending domain and flags what is missing.
How inheritance works
When a receiver gets mail from news.example.com, it looks for _dmarc.news.example.com first. If there is none, it walks up the DNS tree and uses _dmarc.example.com. RFC 9989 section 4.10 describes this DNS tree walk, which replaced the old reliance on the Public Suffix List alone.
Microsoft’s DMARC setup page puts it plainly: unlike SPF and DKIM, the DMARC record for a domain automatically covers all subdomains, including non-existent ones, that do not have their own DMARC record. Creating a record in a subdomain breaks that inheritance for the subdomain.
HubSpot relies on this too. Its authentication article says a subdomain counts as authenticated when the root domain has a DMARC record.
The sp tag
RFC 9989 section 4.7 defines sp as the policy for existing subdomains. It takes the same values as p: none, quarantine, or reject. If it is absent, subdomains get the p policy.
Use it when the main domain is ready for enforcement and the subdomains are not:
v=DMARC1; p=reject; sp=quarantine; rua=mailto:dmarc@example.com
Or the other way around, while you fix the main domain’s senders but already know no subdomain should send:
v=DMARC1; p=none; sp=reject; rua=mailto:dmarc@example.com
The np tag
Also in section 4.7, np is the policy for subdomains that do not exist in DNS. If it is absent, sp applies, and if that is absent too, p applies.
Why it matters: a spoofer can send from billing.example.com or secure-login.example.com even though you never created those names. With np=reject, receivers are asked to refuse those, even while your main policy is still none:
v=DMARC1; p=none; np=reject; rua=mailto:dmarc@example.com
This is low risk. A subdomain that does not exist in DNS has nowhere for legitimate mail to come from. Receivers that do not yet support np fall back to sp or p.
When a subdomain needs its own DMARC record
- A different policy than
spgives all subdomains. For example, one subdomain still atnonewhile the others are atreject. - A separate report address, such as a marketing team’s reporting service for its subdomain.
- During a rollout. Microsoft’s rollout advice is to start with a low-volume domain or subdomain with few email sources, move it through
none,quarantine, andreject, repeat for the other subdomains in order of volume, and save the parent domain for last.
Microsoft adds that once all subdomains have effectively the same settings as the parent, you can delete the subdomain records and rely on the parent’s. Fewer records means fewer to forget.
If you do give a subdomain its own record, include an rua in it. Otherwise reports for that subdomain stop. See where DMARC reports go.
SPF and DKIM do not inherit
This is the part that catches people. Microsoft’s SPF setup page says each subdomain you send from needs its own SPF record. The record on contoso.com does not cover marketing.contoso.com. The DMARC page says the same: each subdomain needs SPF and DKIM for DMARC.
So for a sending subdomain:
- SPF: a TXT record on the subdomain itself, listing the services that use it as the envelope sender. Microsoft notes each subdomain also gets its own ten-lookup budget, which is one reason to move a busy sender there.
- DKIM: the provider’s selector records under the subdomain, such as
selector._domainkey.news.example.com, or signatures on the parent domain that still align under relaxed alignment.
Alignment helps here. Under the default relaxed mode, a DKIM signature on example.com aligns with a From address at news.example.com, because they share an organizational domain. Strict mode (adkim=s) needs an exact match. See DMARC record tags.
Subdomains that do not send mail
Subdomains that exist for a website or an app but never send email can still be spoofed. Two options:
- Let
sp=rejecton the parent cover them, once you are sure no subdomain sends mail you have not authenticated. - Publish
v=spf1 -allon the specific subdomain, the record Microsoft gives for names that send no mail.
Our guide to locking down domains that send no email covers whole domains as well.
Checking which policy applies
To see what a receiver will use for a subdomain, look it up the same way, starting at the subdomain:
dig TXT _dmarc.news.example.com +short
dig TXT _dmarc.example.com +short
If the first returns a record, that record applies to news.example.com and the parent’s sp does not. If the first returns nothing, the parent’s record applies, with sp if it is set and p if not. For a name that does not exist at all, np comes first. Write down which record covers each sending subdomain before you change any policy.
Common mistakes
- A subdomain record without
rua, so the subdomain’s reports disappear. - A subdomain record left at
p=noneafter the parent moved toreject, leaving that subdomain open. - Setting
sp=rejectbefore checking reports. A newsletter or store on a subdomain you forgot will start failing. - Assuming the parent’s SPF covers the subdomain. It does not.
- Strict alignment while senders sign or bounce with a different subdomain.
A sensible order
- Publish one DMARC record on the parent at
p=nonewithrua. - Add
np=reject. Non-existent subdomains should never send. - Read reports for a few weeks. List every subdomain that appears as a sender.
- Give each sending subdomain its own SPF record and DKIM.
- Move the parent to
quarantine, withspfollowing once subdomain senders pass. - Move to
rejectwhen the reports are clean. Our policy guide covers timing.
Sources
- RFC 9989: DMARC (May 2026): section 4.7 (sp, np), section 4.10 (DNS tree walk)
- Microsoft Learn: Set up DMARC (subdomain inheritance, rollout order)
- Microsoft Learn: Set up SPF (one SPF record per subdomain, lookup budgets)
- HubSpot: Manage email authentication (subdomain inherits root DMARC)