[Documentation](https://mailglo.com/docs/) / Questions and answers

For AI agents: [llms.txt, the index of guides and public pages](https://mailglo.com/llms.txt)

# Do subdomains inherit SPF and DMARC?

DMARC, yes. SPF, no. DMARC tells receivers what to do with mail that fails the checks. A subdomain with no DMARC record gets its main domain's: `sp=` if set, otherwise `p=`. SPF is looked up only at the exact name in the bounce address. Each subdomain used there needs its own SPF record.

## Check it on a real domain

We looked up Google's records on 27 November 2026:

```
$ dig +short TXT mail.google.com | grep spf1
$ dig +short TXT _dmarc.mail.google.com
$ dig +short TXT _dmarc.google.com
"v=DMARC1; p=reject; rua=mailto:mailauth-reports@google.com"
$ dig +short TXT accounts.google.com | grep spf1
"v=spf1 redirect=_spf.google.com"
```

`mail.google.com` has no SPF record. A message with a bounce address there gets the SPF result "none", although `google.com` has an SPF record.

`mail.google.com` has no DMARC record either, so receivers go up to `google.com`'s. Without an `sp=` tag there, `p=reject` covers the subdomain: Google asks receivers to refuse mail from `mail.google.com` that fails DMARC.

`accounts.google.com` publishes its own SPF record. It points at the same server list as `google.com`, through a `redirect=`.

## What to set

1. Publish SPF on each name in a bounce address. If your newsletter service bounces to `bounces.example.com`, that name needs an SPF record. The service usually gives you the record to publish.
2. One DMARC record usually covers everything. Publish it on your main domain. Add `sp=` only when subdomains need a different policy, such as `sp=quarantine` while one of them still has unsigned mail.
3. A subdomain's own DMARC record wins. Receivers check the subdomain first. They look higher up only when they find no valid record there.
4. Subdomains that don't exist follow `np=`, then `sp=`, then `p=`. Receivers that still follow the 2015 DMARC rules skip `np=`.

## Sources

- [RFC 9989, section 4.10.1](https://www.rfc-editor.org/rfc/rfc9989#section-4.10.1): where receivers look for the policy, and which tag applies to a subdomain. May 2026.
- [RFC 9989, section 4.7](https://www.rfc-editor.org/rfc/rfc9989#section-4.7): the `sp` and `np` tags. May 2026.
- [RFC 7208, section 4.4](https://www.rfc-editor.org/rfc/rfc7208#section-4.4) and [section 2.6.1](https://www.rfc-editor.org/rfc/rfc7208#section-2.6.1): SPF looks up the exact name, and "none" when it finds no record. April 2014.

Last updated 28 Nov 2026: First version.
