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

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:

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:

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 sensible order

  1. Publish one DMARC record on the parent at p=none with rua.
  2. Add np=reject. Non-existent subdomains should never send.
  3. Read reports for a few weeks. List every subdomain that appears as a sender.
  4. Give each sending subdomain its own SPF record and DKIM.
  5. Move the parent to quarantine, with sp following once subdomain senders pass.
  6. Move to reject when the reports are clean. Our policy guide covers timing.

Sources