Combine SPF Records: Microsoft 365 + SendGrid
Merge Microsoft 365 and SendGrid into a single valid v=spf1 TXT record without triggering a 10-lookup PermError.
Merged SPF Record: Microsoft 365 + SendGrid
Single RFC-Valid Record
Replace any separate SPF entries on your root domain (@) with this single merged TXT record:
v=spf1 include:spf.protection.outlook.com include:sendgrid.net ~all
1. Live Domain DNS Inspector
SPF + DMARC + DKIM2. Instant SPF Record Generator
Select all services allowed to send email for your domain.
SPF records triggering more than 10 DNS lookups fail with a PermError, causing emails to bounce or hit spam. Remove unused senders or use a subdomain (e.g., mail.yourdomain.com) for marketing tools.
@
Type: TXT
v=spf1 ~all
3. Instant DMARC Record Generator
Publish this TXT record at _dmarc.yourdomain.com to satisfy Google & Yahoo bulk-sender rules.
_dmarc
Type: TXT
v=DMARC1; p=none;
Frequently Asked Questions
How do I combine SPF records for Microsoft 365 and SendGrid? ▼
Never publish two separate v=spf1 TXT records. Merge both providers into a single TXT record at your root domain (@): v=spf1 include:spf.protection.outlook.com include:sendgrid.net ~all
Why does SPF fail if I exceed 10 DNS lookups? ▼
RFC 7208 enforces a hard limit of 10 DNS-querying mechanisms (include, a, mx, ptr, exists, redirect) per SPF check. Exceeding 10 lookups triggers an immediate SPF PermError and causes emails to bounce or land in spam.
Where do I publish my DMARC TXT record? ▼
Publish your DMARC policy as a TXT record on the _dmarc subdomain (Host: _dmarc) starting with v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com; before moving to p=quarantine or p=reject.