How many DNS lookups does spf.protection.outlook.com use?
`spf.protection.outlook.com` typically uses 2 DNS lookups (1 direct plus 1 nested include for `spfa.protection.outlook.com`).
Authenticate Microsoft 365 / Exchange Online custom domains with exact SPF, dual-CNAME DKIM selectors, and DMARC records.
| Host / Name | Type | Value | TTL | Purpose |
|---|---|---|---|---|
@ |
TXT | v=spf1 include:spf.protection.outlook.com -all |
3600 | Microsoft 365 SPF (2 estimated DNS lookups) |
selector1._domainkey |
CNAME | selector1-yourdomain-com._domainkey.tenant.r-v1.dkim.mail.microsoft |
3600 | Primary M365 DKIM CNAME (copy exact target from Defender portal) |
selector2._domainkey |
CNAME | selector2-yourdomain-com._domainkey.tenant.r-v1.dkim.mail.microsoft |
3600 | Secondary M365 DKIM CNAME for key rotation |
_dmarc |
TXT | v=DMARC1; p=quarantine; pct=100; rua=mailto:dmarc@yourdomain.com; |
3600 | DMARC policy record |
| Mechanism | Type | Direct | Est. Total | Notes |
|---|
EnvGuard for JetBrains IDEs scans .env, YAML, and DNS config files locally before commit — paired with our DevOps & AI Automation Kits on Gumroad.
`spf.protection.outlook.com` typically uses 2 DNS lookups (1 direct plus 1 nested include for `spfa.protection.outlook.com`).
Microsoft uses `selector1` and `selector2` so you can rotate DKIM keys in the Defender portal with zero downtime.
Yes: `v=spf1 include:_spf.google.com include:spf.protection.outlook.com ~all` uses ~6 of your 10 DNS lookups, leaving 4 lookups of headroom.