Prompt

How do I authenticate a domain for sending from multiple subdomains?

Technology / API Platforms1 observationLast seen Nov 13, 2026

Latest observation

Nov 13, 2026OpenAI APIWeb search: off

To authenticate a domain for sending from multiple subdomains, you typically want to set up SPF, DKIM, and DMARC in a way that covers both the parent domain and each subdomain you’ll send from.

1) SPF

SPF is checked against the envelope-from / return-path domain, so it needs to authorize the sending service for each domain/subdomain used in that role.

Common approaches

  • If all subdomains use the same mail provider:
    You can often publish SPF on the root domain and/or each subdomain.
  • If different subdomains send through different services:
    Each subdomain should have its own SPF record tailored to that sender.

Example

If:

  • example.com sends via Google Workspace
  • news.example.com sends via Mailchimp
  • alerts.example.com sends via SendGrid

Then you might have:

  • example.com TXT "v=spf1 include:_spf.google.com -all"
  • news.example.com TXT "v=spf1 include:servers.mcsv.net -all"
  • alerts.example.com TXT "v=spf1 include:sendgrid.net -all"

Note: You should only have one SPF TXT record per hostname. If needed, combine mechanisms into a single record.


2) DKIM

DKIM should be enabled for each sending domain/subdomain.

Best practice

  • Create a DKIM selector/key for each domain or subdomain you send from.
  • Sign messages with the From: domain or a related subdomain.

Example

A message sent from:

  • support@example.com can be DKIM-signed as d=example.com
  • promo@news.example.com can be DKIM-signed as d=news.example.com

This is often the cleanest way to authenticate multiple subdomains.


3) DMARC

DMARC is where you define policy and reporting for the domain hierarchy.

Important point

DMARC is evaluated on the From: header domain.

So:

  • mail from user@example.com is governed by example.com
  • mail from user@news.example.com is governed by news.example.com

If you want one policy for all subdomains

Set a DMARC record at the parent domain with the sp tag:

_dmarc.example.com TXT "v=DMARC1; p=quarantine; sp=quarantine; rua=mailto:dmarc-reports@example.com"
  • p= applies to the organizational domain
  • sp= applies to subdomains

If subdomains need their own policies

You can also publish separate DMARC records for each subdomain:

_dmarc.news.example.com TXT "v=DMARC1; p=reject; rua=mailto:news-dmarc@example.com"
_dmarc.alerts.example.com TXT "v=DMARC1; p=quarantine; rua=mailto:alerts-dmarc@example.com"

If a subdomain has its own DMARC record, that record overrides the parent’s sp= policy for that subdomain.


Recommended setup for multiple subdomains

If you control all sending subdomains, a common robust setup is:

  1. Root domain SPF
  2. Separate SPF for each sending subdomain if they use different providers
  3. DKIM signing per subdomain
  4. DMARC at the root with sp=
  5. Optional: separate DMARC records for subdomains with special handling

Example:

example.com TXT "v=spf1 include:_spf.google.com -all"
news.example.com TXT "v=spf1 include:servers.mcsv.net -all"
alerts.example.com TXT "v=spf1 include:sendgrid.net -all"

_dmarc.example.com TXT "v=DMARC1; p=reject; sp=quarantine; rua=mailto:dmarc@example.com"

Key rule to remember

For best deliverability, each message should have:

  • SPF pass for the sending domain
  • DKIM pass with alignment to the visible From: domain or its organizational domain
  • DMARC pass for the From: domain

If you want, I can also give you:

  • a DNS record template for your exact providers, or
  • a step-by-step setup for Gmail/Google Workspace, Microsoft 365, SendGrid, Mailchimp, etc.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.