Blog article
Subdomain records overview:
aspf=s) breaks when the envelope sender and “From” domains differ.Your finance team uses a different server than your marketing team. Both authorize senders through a single SPF record on your root domain. Every vendor added to that record is authorized to send as your root domain. If one vendor’s system is compromised, an attacker can send messages that pass SPF.
This guide is for CISOs, email administrators, and risk officers who manage large sender ecosystems. It covers how to decide between root domain and subdomain records based on how your organization is structured.
Before you restructure anything, confirm what your current SPF record actually looks like. Sendmarc’s SPF Record Checker shows every sender authorized by your record, along with the lookup count for a domain. That is the baseline you need before deciding on your strategy.
A single SPF record at the root domain treats every sender the same way, whether it’s finance issuing payment notifications or marketing sending bulk promotions. If one sender starts failing SPF or gets flagged for abuse, every other sender in that record is affected by the same fallout, because nothing in the record separates them.
Subdomain records isolate each sender instead. An SPF record on a subdomain (for example, mail.example.com or transact.example.com) authorizes senders only for that subdomain. The receiving server evaluates the SPF record of the subdomain, not the root domain.
The lookup budget for the subdomain is separate from the root domain’s budget, and changes to one subdomain’s authorized senders don’t affect other subdomains. The DMARC policy for that subdomain can also be defined independently through the sp= tag.
After an acquisition, a subsidiary’s servers often get added directly into the parent company’s SPF record, instead of getting their own subdomain. If the subsidiary manages its own email systems and its own IT team, this means the parent’s root domain record now authorizes senders that the parent doesn’t actually control or have visibility into.
Moving the subsidiary to its own subdomain record fixes this: The subsidiary’s senders stay under its own record, and the root domain record no longer has to account for infrastructure it doesn’t govern.
Use the criteria below to determine the right SPF structure for each domain in your inventory.
Use the root domain when:
Use subdomain records when:
Consider SPF flattening review when:
Flattening converts include mechanisms to explicit ip4 and ip6 ranges. It reduces lookup consumption without introducing subdomain records.
Flattening is a viable short-term fix for lookup pressure. But a flattened record still places every sender under a single root domain, so it doesn’t solve the attribution and ownership problem that subdomain records address.
Moving to subdomain records is a structural change, not a configuration tweak.
Three practical steps reduce the risk:
aspf=r) only requires the sender’s envelope domain and visible “From” domain to share the same root domain, so moving a sender to a subdomain record doesn’t break alignment. If your DMARC record uses strict alignment (aspf=s), the envelope domain must match the visible “From” domain exactly.Subdomain records aren’t a one-time decision. Justifying the structure to an auditor means maintaining visibility across dozens or hundreds of domains, more than a manual DNS review can realistically sustain. Sendmarc gives security and risk teams that visibility, with unified reporting across SPF, DKIM, and DMARC configurations.
For organizations standardizing sender authorization across departments and regions, Sendmarc’s reporting shows pass rates by sending source and flags DMARC alignment gaps at the subdomain level before they affect deliverability.
This lets distributed IT and security teams see who’s authorized to send from every domain and subdomain, without tracking each record manually.
See how Sendmarc surfaces pass rates by sending source and flags subdomain alignment gaps automatically.