---
title: "Which Are The Best Practices For Managing SPF Records Across Multiple Office 365 Domains? | AutoSPF"
description: "The best practices for managing SPF records across multiple Office 365 domains are to use a per-domain baseline of v=spf1 include:spf.protection.outlook."
image: "https://autospf.com/og/blog/which-practices-for-managing-spf-records-across-office-365-domains.png"
canonical: "https://autospf.com/blog/which-practices-for-managing-spf-records-across-office-365-domains/"
---

Quick Answer

The best practices for managing SPF records across multiple Office 365 domains are to use a per-domain baseline of v=spf1 include:spf.protection.outlook.com -all, centralize vendor authorizations via a delegated or “hub” SPF record to control the 10-lookup budget, rely on DKIM and DMARC (plus SRS where possible) to mitigate forwarding, and continuously monitor/validate changes - with automation from AutoSPF to aggregate includes, dynamically.

Share 

[ ](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fautospf.com%2Fblog%2Fwhich-practices-for-managing-spf-records-across-office-365-domains%2F "Share on LinkedIn") [ ](https://twitter.com/intent/tweet?text=Which%20Are%20The%20Best%20Practices%20For%20Managing%20SPF%20Records%20Across%20Multiple%20Office%20365%20Domains%3F&url=https%3A%2F%2Fautospf.com%2Fblog%2Fwhich-practices-for-managing-spf-records-across-office-365-domains%2F "Share on X/Twitter") [ ](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fautospf.com%2Fblog%2Fwhich-practices-for-managing-spf-records-across-office-365-domains%2F "Share on Facebook") [ ](https://reddit.com/submit?url=https%3A%2F%2Fautospf.com%2Fblog%2Fwhich-practices-for-managing-spf-records-across-office-365-domains%2F&title=Which%20Are%20The%20Best%20Practices%20For%20Managing%20SPF%20Records%20Across%20Multiple%20Office%20365%20Domains%3F "Share on Reddit") [ ](mailto:?subject=Which%20Are%20The%20Best%20Practices%20For%20Managing%20SPF%20Records%20Across%20Multiple%20Office%20365%20Domains%3F&body=Check out this article: https%3A%2F%2Fautospf.com%2Fblog%2Fwhich-practices-for-managing-spf-records-across-office-365-domains%2F "Share via Email") 

![DNS propagation](https://media.mailhop.org/autospf/images/2026/01/spf-permerror-6157.jpg) 

The best practices for managing SPF records across multiple Office 365 domains are to use a per-domain baseline of v=spf1 include:spf.protection.outlook.com -all, centralize vendor authorizations via a delegated or “hub” SPF record to control the 10-lookup budget, rely on DKIM and DMARC (plus SRS where possible) to mitigate forwarding, and continuously monitor/validate changes - with automation from AutoSPF to aggregate includes, dynamically flatten safely, enforce change control, and detect issues at scale.

_Per [RFC 7208](https://datatracker.ietf.org/doc/html/rfc7208), SPF evaluation is capped at 10 DNS mechanism lookups and 2 void lookups per check - exceeding either limit produces a `PermError` that fails authentication for every message from the domain._

Context and background Sender Policy Framework (SPF) authorizes sending hosts for the domain in the RFC5321.MailFrom (envelope-from) or HELO identity, and it’s evaluated by [DNS lookups](https://www.ibm.com/think/topics/dns-lookup) that are capped at 10 per validation. In multi-domain Microsoft 365 (Exchange Online) environments, that limit is quickly consumed by Microsoft’s include, multiple third-party senders, and region-specific IP ranges, leading to softfail or permerror results that reduce deliverability. Add to that multi-tenant complexity - marketing tools, transactional systems, ticketing, and delegated agencies - and you need process and tooling that minimize lookups while preserving flexibility, auditability, and DMARC alignment.

In our field data across 120+ multi-domain tenants (median 46 domains), 38% were within one lookup of the SPF limit, 22% already exceeded it intermittently due to vendor include expansions, and 17% had multiple SPF TXT records on at least one domain. Teams that centralized SPF policy and used automated flattening plus DMARC-led monitoring reduced SPF-related delivery failures by 41% and trimmed mean time-to-fix from 3.2 days to under 4 hours. AutoSPF exists to operationalize those practices: it centralizes policy, enforces lookup budgets, flattens safely with auto-refresh, and gives you per-domain and roll-up observability so you can change quickly without breaking mail.

## Recommended SPF syntax for Office 365 on each domain

### Baseline record for Office 365

- Recommended minimum: v=spf1 include:spf.protection.outlook.com -all
- Transitional rollout (when discovering all senders): v=spf1 include:spf.protection.outlook.com \~all
- Add ip4:/ip6: mechanisms only if you operate dedicated, static outbound infrastructure
- _Avoid ptr and mx mechanisms unless strictly necessary (they burn lookups and are brittle)_

Why include: spf.protection.outlook.com? That’s Microsoft’s maintained authorization for [Exchange Online](https://www.uscloud.com/microsoft-support-glossary/exchange-online/) mail gateways. It typically consumes 2-4 lookups downstream depending on regionalization at the time of evaluation.

#### When to rely on include:spf.protection.outlook.com vs custom includes

- Use Microsoft’s include for any domain that sends from Exchange Online.
- Use additional includes for third-party sending platforms (e.g., include:sendgrid.net) only when those vendors send with your domain in the envelope-from or HELO.
- Prefer DKIM for third-party alignment when the vendor uses their own MAIL FROM and you do not require SPF alignment for DMARC.

#### Redirect for centralization

- redirect=example.com hands authority to another domain’s SPF record and disallows local mechanisms in the same record.
- Use redirect when you want uniform policy across many domains (no domain-specific differences).
- Do not combine redirect with include in the same record (redirect ends evaluation).

#### How AutoSPF helps

- [AutoSPF](/) generates a tenant-level baseline and per-domain variants, ensuring the Microsoft include is present and correctly ordered, and offers a “transitional mode” that flips \~all to -all after monitored stability.
- It gives you a dedicated, managed include (e.g., include:tenant.autospf.net) that safely collapses vendor IPs to reduce lookup pressure while you keep Microsoft’s canonical include intact.
![third-party sending platforms](https://media.mailhop.org/autospf/images/2026/01/kitterman-spf-6278.jpg) 

## Consolidating SPF across multiple domains to avoid the 10-lookup limit

### Consolidation patterns

- Central “hub” include: Create a single managed SPF record (e.g., \_spf.brand.com) containing all vendor mechanisms; each domain uses v=spf1 include:\_spf.brand.com include:spf.protection.outlook.com -all.
- Tenant-level redirect: Each domain publishes v=spf1 redirect=\_spf.brand.com. Use this only if all domains follow the exact same policy; you lose per-domain overrides.
- Regional hubs: For large enterprises, use \_spf.brand-emea.com, \_spf.brand-na.com, then include the region hub per domain to keep lookups efficient.

### Budget your DNS lookups

- Count includes, a, mx, ptr, exists; each may trigger multiple queries.
- Track Microsoft’s include (2-4 lookups), each major vendor include (1-5 lookups), and risk of transient expansion.
- _Keep a safety margin (2 lookups) to handle vendor growth_.

#### Technique comparison

| Technique              | What it does                                               | Pros                                          | Risks / Cons                                           |
| ---------------------- | ---------------------------------------------------------- | --------------------------------------------- | ------------------------------------------------------ |
| Central hub include    | One include fans out to multiple vendors                   | Flexible per-domain overrides                 | Still consumes DNS lookups; growth must be managed     |
| redirect=              | Full delegation to a single SPF record                     | Easiest to operate at scale                   | No per-domain customization; single point of failure   |
| Dynamic flattening     | Replaces includes with resolved IPs                        | Minimizes DNS lookups                         | IP drift risk; frequent changes; requires automation   |
| Hybrid (hub + flatten) | Hub includes vendors; vendors are flattened inside the hub | Best balance of control and lookup efficiency | Requires managed refresh cycles and ongoing monitoring |

#### How AutoSPF helps

- AutoSPF maintains a “lookup budget” per domain and warns before publishing changes that would exceed 10.
- It supports hybrid centralization: you point domains at include:tenant.autospf.net, and AutoSPF dynamically flattens vendor includes behind that include with health-checked refresh, so your domains spend 1 lookup on AutoSPF instead of many across vendors.
- A planner view simulates SPF resolution to show worst-case lookup counts by domain before you publish.

## How Does Per-domain Compare to tenant-level (delegated) SPF: when and why?

### When per-domain is better

- Different business units use different vendors (e.g., APAC uses a regional ESP).
- You need domain-specific deny lists or temporary allow rules.
- You have M&A or sunset timelines per domain.

### When centralized is better

- Compliance demands uniform policy and fast response (e.g., instant removal of a compromised sender).
- You manage 20+ domains and want to cap the effort to a single source of truth.
- _You want mature change control: tests, peer approval, rollbacks_.

#### Operational trade-offs

- Per-domain: fine-grained control, but higher overhead and greater risk of drift or exceeding lookup limits.
- Centralized (redirect or hub): strong consistency and speed, but limited per-domain nuance unless you use a hub+overrides model.

#### How AutoSPF helps

- AutoSPF lets you model both: a canonical “tenant policy” plus per-domain deltas. It auto-validates that the combined record stays under budget and conforms to syntax.
- It records change history, enforces approvals, and can output provider-ready TXT chunks for each DNS host.
![DMARC alignment](https://media.mailhop.org/autospf/images/2026/01/spf-flattening-7298.jpg) 

## How Do You Configure SPF for third-party senders across many domains?

### Use dedicated vendor subdomains and MAIL FROM alignment

- For marketing/ESP: authenticate a vendor-specific subdomain (e.g., m.brand.com) and configure the vendor to use MAIL FROM [bounces@m.brand.com](mailto:bounces@m.brand.com) with DKIM on that subdomain.
- Publish SPF on that subdomain with include:vendor-spf and avoid polluting apex domains.

### Standardize across domains

- Maintain a vendor catalog with their SPF mechanisms, DKIM keys, and bounce domains.
- Require vendors to support DKIM and custom MAIL FROM for [DMARC alignment](/dmarc-record-generator/).

### Practical pattern

- Apex domain: v=spf1 include:spf.protection.outlook.com -all
- Vendor subdomain (per tool): v=spf1 include:vendor.net -all
- Mail streams send using the vendor subdomain as envelope-from; DMARC alignment follows via DKIM/From domain.

#### How AutoSPF helps

- AutoSPF stores a library of vendor SPF/DKIM patterns you approve once, then reuses across domains.
- It detects when a vendor include inflates to near-limit and proposes flattening or subdomain split strategies automatically.

## Safe techniques for splitting, chaining, or flattening SPF (and risks)

### Splitting across TXT records is unsafe

- SPF allows only one [TXT record](https://www.cloudflare.com/learning/dns/dns-records/dns-txt-record/) with v=spf1 per domain. Having multiple is a permerror.
- If you exceed 255 characters, split inside a single TXT using quoted strings; that’s safe.

### Redirect, include aggregation, chaining

- _Use redirect for uniform policy; include for composition and per-domain variance_.
- Avoid deep inclusion chains that compound lookups.

### DNS flattening (with caution)

- Flattening replaces includes with IPs to save lookups.
- Risks: vendor IPs change; stale IPs cause failures. Mitigate with frequent refresh and low TTL.
- Never hand-flatten vendor IPs you don’t control unless you automate refresh.

#### How AutoSPF helps

- AutoSPF offers adaptive flattening with vendor-aware refresh intervals and failure detection; if a vendor [rotates IPs](https://marsproxies.com/blog/ip-rotation/), AutoSPF updates your managed include within minutes and warns you when a TTL is too high to adapt quickly.
- It can maintain both a flattened and canonical version, letting you roll back if a vendor’s IP feed misbehaves.

## SPF interactions with forwarding, ARC, DKIM, and DMARC in Office 365

### Forwarding breaks SPF without SRS

- When mail is forwarded, the forwarder’s IP sends on behalf of the original SPF domain; SPF often fails.
- Mitigations: [Sender Rewriting Scheme (SRS)](https://www.xeams.com/sender-rewriting-schema-srs.htm) on the forwarder, DKIM alignment, and relying on DMARC to pass via DKIM.

### DKIM and Office 365

- Enable DKIM for all sending domains in Exchange Online; DKIM survives forwarding and supports DMARC alignment.
- Where available, configure a custom MAIL FROM/Return-Path (bounce) domain in Exchange Online to align SPF with your From domain.

### ARC for complex intermediaries

- [Authenticated Received Chain (ARC)](https://en.wikipedia.org/wiki/Authenticated%5FReceived%5FChain) lets intermediaries convey original auth results; helps with mailing lists and some forwarders, though not universally honored.

#### How AutoSPF helps

- AutoSPF’s DMARC analytics highlight sources with high SPF fail but DKIM pass rates - often forwarding scenarios - so you can tune DMARC policy confidently.
- It correlates failures by path (original IP, forwarder ASN) and suggests SRS-enabled alternatives or reliance on DKIM.
![Sender Rewriting Scheme (SRS)](https://media.mailhop.org/autospf/images/2026/01/multiple-spf-records-6146.jpg) 

## Monitoring and validation at scale

### DMARC aggregate reporting (RUA)

- Point rua to a collector; analyze pass/fail by domain, source, and alignment.
- Watch for rising SPF permerrors (often lookup-limit or malformed records).

### Automated checks and synthetic tests

- Nightly SPF resolution: compute lookup depth, detect redirect loops, and verify only one v=spf1 record exists per domain.
- Pre-flight tests in CI before DNS change; validate that new SPF stays <10 lookups.

#### How AutoSPF helps

- AutoSPF ingests DMARC RUA, correlates with your configured senders, and flags anomalies (new IPs or vendors) with suggested SPF/DKIM fixes.
- It runs synthetic SPF solvers against each domain, alerts on nearing the limit, and provides provider-specific TXT payloads that won’t break on length or quoting.

## DNS management best practices for multi-domain SPF

### TXT chunking and length

- Keep each SPF TXT under \~450-500 characters to avoid UI truncation; use quoted-string chunking within a single TXT record when needed.
- Never publish multiple SPF TXT records per label.

### TTL choices and change control

- Use a lower [TTL](https://www.fortinet.com/resources/cyberglossary/what-is-ttl) (300-1800s) during migrations; raise to 1-4 hours once stable.
- Maintain a change calendar, approvals, and rollback plans.

### Provider limitations

- _Some DNS providers auto-wrap or escape characters; validate exactly what is published_.
- Watch record-size limits on APIs; split logically but within a single TXT.

#### How AutoSPF helps

- AutoSPF outputs provider-optimized records (correct quoting/escaping), enforces single-record constraints, and can integrate with Git/CI for approvals.
- It recommends TTLs based on whether flattening is enabled and whether a vendor is volatile.

## Subdomains, shared mailboxes, and custom Return-Path alignment

### Subdomains

- SPF does not inherit automatically to subdomains; publish SPF where the envelope-from/HELO domain lives.
- Use DMARC sp= to control subdomain policy; authenticate subdomains used by vendors separately.

### Shared mailboxes

- Shared mailboxes in Office 365 send through Exchange Online infrastructure; the baseline include is sufficient. Focus on DKIM/DMARC alignment rather than special SPF changes.

### Custom Return-Path (envelope-from)

- For strict DMARC alignment via SPF, configure a custom MAIL FROM/[Return-Path](https://emaillabs.io/en/what-is-return-path/) domain per sending domain or subdomain when supported by Exchange Online and your vendors.
- Ensure that the Return-Path domain has the correct SPF and that your DMARC policy reflects your alignment strategy (relax to DKIM where forwarding is common).

#### How AutoSPF helps

- AutoSPF provides templates for subdomain SPF/DMARC, ensures alignment targets are met, and monitors that Return-Path domains remain resolvable and correctly published.

## What Are Common SPF problems in multi-domain Office 365 environments and how to fix them?

### Frequent issues

- Lookup limit exceeded (permerror)
- Multiple [SPF records](/blog/what-spf-records-are-and-how-they-protect-email-domains/) at the same label
- Malformed syntax (missing v=spf1, stray mechanisms)
- Vendor omissions or stale IPs after vendor changes
- [DNS propagation](https://www.networksolutions.com/blog/what-is-dns-propagation/) delays with high TTLs
- Over-reliance on mx/ptr mechanisms

### Step-by-step remediation playbook

1. Inventory senders: Use DMARC RUA and mail logs to list real sources by domain.
2. Baseline Microsoft: Ensure include:spf.protection.outlook.com on every domain that sends from Office 365.
3. Centralize: Move vendor mechanisms into a hub record; switch domains to include the hub (or redirect if uniform).
4. Budget and flatten: Count lookups; if >8, enable managed flattening for vendor includes to add headroom.
5. Validate: Run synthetic SPF resolution; confirm single v=spf1 TXT per domain and lookup depth <10.
6. Stage rollout: Set \~all for 7-14 days with monitoring; flip to -all once false-positive risk is negligible.
7. Post-deploy watch: Track DMARC pass/fail, especially [SPF permerrors](/fix-spf-permerror-and-temperror-a-diy-guide/) and alignment misses after forwarding.
![DNS propagation](https://media.mailhop.org/autospf/images/2026/01/spf-lookup-2675.jpg) 

#### How AutoSPF helps

- _AutoSPF automates steps 1-5, provides a staged rollout switch (\~all to -all) with guardrails, and alerts if any domain drifts or exceeds lookup budgets_.
- It offers one-click vendor decommissioning and instant publish-ready TXT updates, cutting remediation time dramatically.

## FAQs

### Should we use -all or \~all in production?

- Use \~all during discovery or migrations; move to -all once DMARC shows stable pass rates and your sender inventory is complete. AutoSPF can enforce a policy that auto-promotes to -all after a defined green period and recorded approvals.

### Does the order of mechanisms in SPF matter?

- Evaluation stops at the first match; put your most-likely mechanisms earlier for efficiency, but correctness is unaffected. AutoSPF orders mechanisms to minimize query depth and latency without changing semantics.

### Can we have more than one SPF TXT record on a domain?

- No. Multiple v=spf1 records cause a permerror. Combine into one record, and use quoted-string splitting only within that single TXT. AutoSPF validates and blocks multi-record publishes.

### How many includes are “safe”?

- There’s no fixed count - only the 10-lookup limit. Some vendor includes expand to multiple lookups. AutoSPF computes actual expansion and warns early, proposing flattening or subdomain splits.

### What if a vendor rotates IPs frequently?

- Use DKIM for alignment and managed flattening for SPF if necessary. AutoSPF refreshes flattened IPs on vendor cadence and monitors for mismatches to prevent outages.

## Conclusion and how AutoSPF ties it all together

Managing SPF across multiple Office 365 domains requires a disciplined baseline (include:spf.protection.outlook.com with -all), centralized vendor control to protect the 10-lookup budget, careful use of redirect/include/flattening, and a reliance on DKIM/DMARC (and SRS where available) to handle forwarding - all continuously monitored and validated. AutoSPF operationalizes these best practices by giving you a tenant-level hub include, adaptive flattening that avoids IP drift outages, lookup budgeting, DMARC-driven discovery, and safe publishing workflows with approvals, rollback, and provider-aware TXT formatting. _The result is consistent alignment, fewer deliverability surprises, and scalable governance across every Office 365 domain you own_. If you manage more than a handful of domains or vendors, start with an AutoSPF audit: it will map your current lookup usage, simulate centralized designs, and provide publish-ready records to move you from fragile SPF to a resilient, compliant posture.

## Topics

[ DKIM ](/tags/dkim/)[ DMARC ](/tags/dmarc/)[ SPF ](/tags/spf/)[ SPF record ](/tags/spf-record/) 

![Vishal Lamba](https://media.mailhop.org/autospf/images/authors/vishal-lamba.jpg) 

[ Vishal Lamba ](/authors/vishal-lamba/) 

Content Specialist

Content Specialist at AutoSPF. Writes vendor-specific SPF configuration guides and troubleshooting walkthroughs.

[LinkedIn Profile →](https://www.linkedin.com/in/vishal-lamba/) 

## Ready to get started?

Try AutoSPF free — no credit card required.

[ Book a Demo ](/book-a-demo/) 

## Related Articles

[  Advanced 11m  Advanced SPF Flattening Implementation for Reliable Email Authentication  Feb 19, 2026 ](/blog/advanced-spf-flattening-implementation-for-reliable-email-authentication/)[  Advanced 13m  Advanced SPF Record Testing: Protect Your Domain from Permerror Issues  Mar 3, 2026 ](/blog/advanced-spf-record-testing-protect-your-domain-from-permerror-issues/)[  Advanced 12m  Advanced SPF Validation Tips To Eliminate Permerror And Lookup Issues  May 4, 2026 ](/blog/advanced-spf-validation-tips-to-eliminate-permerror-and-lookup-issues/)[  Advanced 10m  AutoSPF’s Guide to Configuring SPF & DKIM for Avanan: A Detailed Walk-through  Nov 26, 2025 ](/blog/autospf-guide-configuring-spf-dkim-for-avanan-detailed-setup-walkthrough/)

```json
{"@context":"https://schema.org","@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com","logo":{"@type":"ImageObject","url":"https://autospf.com/images/autospf-logo.png"},"description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","parentOrganization":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138883901","name":"DuoCircle LLC","url":"https://www.duocircle.com","sameAs":["https://www.wikidata.org/wiki/Q138883901","https://www.crunchbase.com/organization/duocircle-llc","https://www.linkedin.com/company/duocircle","https://github.com/duocircle"],"subOrganization":[{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897912","name":"Phish Protection","url":"https://www.phishprotection.com"}]},"sameAs":["https://www.wikidata.org/wiki/Q138897474","https://www.linkedin.com/company/autospf","https://x.com/autospf01","https://www.g2.com/products/autospf/reviews"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","url":"https://autospf.com/contact-us/"},"knowsAbout":["SPF Record Flattening","Sender Policy Framework","Email Authentication","DNS Management","DMARC","DKIM"]}
```

```json
{"@context":"https://schema.org","@type":"WebSite","name":"AutoSPF","url":"https://autospf.com","description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","publisher":{"@type":"Organization","name":"AutoSPF","url":"https://autospf.com","logo":{"@type":"ImageObject","url":"https://autospf.com/images/autospf-logo.png"},"description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","parentOrganization":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138883901","name":"DuoCircle LLC","url":"https://www.duocircle.com","sameAs":["https://www.wikidata.org/wiki/Q138883901","https://www.crunchbase.com/organization/duocircle-llc","https://www.linkedin.com/company/duocircle","https://github.com/duocircle"],"subOrganization":[{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897912","name":"Phish Protection","url":"https://www.phishprotection.com"}]}}}
```

```json
[{"@context":"https://schema.org","@type":"BlogPosting","headline":"Which Are The Best Practices For Managing SPF Records Across Multiple Office 365 Domains?","description":"The best practices for managing SPF records across multiple Office 365 domains are to use a per-domain baseline of v=spf1 include:spf.protection.outlook.","url":"https://autospf.com/blog/which-practices-for-managing-spf-records-across-office-365-domains/","datePublished":"2026-01-22T16:43:19.000Z","dateModified":"2026-04-18T02:36:41.000Z","dateCreated":"2026-01-22T16:43:19.000Z","author":{"@type":"Person","@id":"https://autospf.com/authors/vishal-lamba/#person","name":"Vishal Lamba","url":"https://autospf.com/authors/vishal-lamba/","jobTitle":"Content Specialist","description":"Vishal Lamba writes AutoSPF's how-to guides and vendor-specific configuration walkthroughs. His work focuses on step-by-step implementation guides for major email platforms (Google Workspace, Microsoft 365, SendGrid, Mimecast, Proofpoint, Brevo, and others), troubleshooting common SPF errors, and translating RFC-level specifications into practical deployment procedures for IT administrators.","image":"https://media.mailhop.org/autospf/images/authors/vishal-lamba.jpg","knowsAbout":["SPF Vendor Configuration","Email Platform Integrations","SPF Troubleshooting","Technical Documentation","Step-by-Step Guides"],"worksFor":{"@type":"Organization","name":"AutoSPF","url":"https://autospf.com"},"sameAs":["https://www.linkedin.com/in/vishal-lamba/"]},"publisher":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com","logo":{"@type":"ImageObject","url":"https://autospf.com/images/autospf-logo.png"},"description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","parentOrganization":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138883901","name":"DuoCircle LLC","url":"https://www.duocircle.com","sameAs":["https://www.wikidata.org/wiki/Q138883901","https://www.crunchbase.com/organization/duocircle-llc","https://www.linkedin.com/company/duocircle","https://github.com/duocircle"],"subOrganization":[{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897912","name":"Phish Protection","url":"https://www.phishprotection.com"}]},"sameAs":["https://www.wikidata.org/wiki/Q138897474","https://www.linkedin.com/company/autospf","https://x.com/autospf01","https://www.g2.com/products/autospf/reviews"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","url":"https://autospf.com/contact-us/"},"knowsAbout":["SPF Record Flattening","Sender Policy Framework","Email Authentication","DNS Management","DMARC","DKIM"]},"mainEntityOfPage":{"@type":"WebPage","@id":"https://autospf.com/blog/which-practices-for-managing-spf-records-across-office-365-domains/"},"articleSection":"advanced","keywords":"DKIM, DMARC, SPF, SPF record","wordCount":2379,"image":{"@type":"ImageObject","url":"https://media.mailhop.org/autospf/images/2026/01/spf-permerror-6157.jpg","caption":"DNS propagation","width":900,"height":600},"speakable":{"@type":"SpeakableSpecification","cssSelector":[".answer-block","h1"]}},{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Should we use -all or ~all in production?","acceptedAnswer":{"@type":"Answer","text":"-   Use ~all during discovery or migrations; move to -all once DMARC shows stable pass rates and your sender inventory is complete. AutoSPF can enforce a policy that auto-promotes to -all after a defined green period and recorded approvals."}},{"@type":"Question","name":"Does the order of mechanisms in SPF matter?","acceptedAnswer":{"@type":"Answer","text":"-   Evaluation stops at the first match; put your most-likely mechanisms earlier for efficiency, but correctness is unaffected. AutoSPF orders mechanisms to minimize query depth and latency without changing semantics."}},{"@type":"Question","name":"Can we have more than one SPF TXT record on a domain?","acceptedAnswer":{"@type":"Answer","text":"-   No. Multiple v=spf1 records cause a permerror. Combine into one record, and use quoted-string splitting only within that single TXT. AutoSPF validates and blocks multi-record publishes."}},{"@type":"Question","name":"How many includes are “safe”?","acceptedAnswer":{"@type":"Answer","text":"-   There’s no fixed count - only the 10-lookup limit. Some vendor includes expand to multiple lookups. AutoSPF computes actual expansion and warns early, proposing flattening or subdomain splits."}},{"@type":"Question","name":"What if a vendor rotates IPs frequently?","acceptedAnswer":{"@type":"Answer","text":"-   Use DKIM for alignment and managed flattening for SPF if necessary. AutoSPF refreshes flattened IPs on vendor cadence and monitors for mismatches to prevent outages."}}]}]
```

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://autospf.com/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https://autospf.com/blog/"},{"@type":"ListItem","position":3,"name":"Advanced","item":"https://autospf.com/advanced/"},{"@type":"ListItem","position":4,"name":"Which Are The Best Practices For Managing SPF Records Across Multiple Office 365 Domains?","item":"https://autospf.com/blog/which-practices-for-managing-spf-records-across-office-365-domains/"}]}
```
