Free SPF Record Checker & Syntax Validator

Lookup published SPF DNS TXT records, validate mechanism syntax, count DNS lookups (10-lookup limit), and diagnose email delivery issues.

100% Free & PrivateInstant Live Results
Try Examples:

How to Use Free SPF Record Checker & Syntax Validator

  1. Enter your domain name (e.g. yourdomain.com or google.com) into the SPF checker.

  2. Click 'RUN AUDIT' to execute real-time DoH DNS query.

  3. Review the raw published SPF TXT record and mechanism syntax.

  4. Check lookup counts against the 10-lookup RFC limit and verify policy enforcement.

What Is an SPF Record? DNS TXT Record Anatomy Explained

SPF — Sender Policy Framework — is one of the three pillars of modern email authentication, alongside DKIM and DMARC. At its core, an SPF record is a DNS TXT entry that answers a simple question: which mail servers are permitted to send email on behalf of this domain?

When a receiving mail server gets an email claiming to be from you@yourcompany.com, one of the first things it does is look up the DNS records for yourcompany.com and check whether the IP address that actually delivered the message is listed as an authorized sender. If it's not listed, the email fails SPF. What happens next depends on the SPF qualifier and whether a DMARC policy is in place.

Here's what a real-world SPF record looks like:

v=spf1 include:_spf.google.com include:spf.protection.outlook.com ip4:203.0.113.10 ~all

Breaking it down piece by piece:

Tag / MechanismWhat It Means
v=spf1Required opening tag — identifies this as an SPF record
include:_spf.google.comAuthorize all servers listed in Google's SPF record (for Google Workspace)
include:spf.protection.outlook.comAuthorize Microsoft 365 servers
ip4:203.0.113.10Directly authorize a specific IP address
~allSoftFail — mail from unlisted servers is accepted but marked suspicious
-allHardFail — mail from unlisted servers is rejected outright

The include: mechanism is the most commonly used — it tells the receiving server to also check the SPF records of a third-party sender like Google, Microsoft, or Mailchimp. Each include: statement triggers an additional DNS lookup. And this is where one of SPF's most notorious constraints comes in: the 10-lookup limit.

The SPF 10 DNS Lookup Limit: What It Is and How to Fix It

RFC 7208 — the specification that defines SPF — limits the total number of DNS lookups during SPF evaluation to 10. This isn't an arbitrary restriction; it was designed to prevent SPF from being weaponized as an amplification vector for DNS-based denial-of-service attacks. But in practice, it creates real headaches for any domain that sends email through multiple platforms.

Think about a typical modern business. You might send through Google Workspace, use Mailchimp for newsletters, SendGrid for transactional emails, HubSpot for marketing automation, and Zendesk for support responses. Each platform needs its own SPF include: entry. Each of those includes may resolve to further nested includes. It adds up quickly, and exceeding 10 lookups causes a PermError — receiving servers will skip SPF authentication entirely, effectively treating all your email as unauthenticated.

Here's what contributes to the lookup count:

  • Each include: mechanism counts as one lookup (plus any further lookups within it)
  • The a, mx, and exists mechanisms each count as one lookup
  • The redirect= modifier counts as one lookup
  • The ptr mechanism is deprecated and should never be used
  • Literal ip4: and ip6: mechanisms do not consume a lookup

Our SPF checker above counts your domain's actual lookup depth and flags if you're approaching or exceeding the limit. If you are, here are your options:

Option 1: SPF Flattening

Flattening resolves all nested include: mechanisms into their underlying IP addresses and writes them directly into your SPF record as ip4: entries. This eliminates the need for DNS lookups during evaluation. The downside is maintenance: whenever a provider (like Mailchimp or SendGrid) adds or rotates their sending IPs, your flattened record becomes outdated and must be re-flattened. Some services offer automated flattening to handle this continuously.

Option 2: Consolidate senders

Audit which platforms are actually sending mail as your domain. You may be including SPF entries for tools you no longer use. Remove any include: statements for inactive senders — this is the cleanest fix when it applies.

Option 3: Use subdomain routing

If different services use different reply-to addresses, you can split them across subdomains. For example, marketing.yourdomain.com can have its own SPF record specifically for Mailchimp, completely separate from yourdomain.com's record. This keeps each record within the lookup limit.

Run the check: Paste your domain into the SPF checker above to instantly see your current lookup count. If it's at 8 or higher, you're at risk — and at 10+, you're already broken.

How to Add SPF Records for Major Email Providers

The most common reason people use an SPF checker is to verify that they've correctly authorized their email service providers. Here's exactly what to include for the platforms your domain is most likely sending through — and where to add these records in popular DNS providers.

Google Workspace / Gmail

Add include:_spf.google.com to your SPF record. Your complete record might look like: v=spf1 include:_spf.google.com ~all

Microsoft 365 / Outlook

Add include:spf.protection.outlook.com. Note: if you're migrating from on-premises Exchange, your old IP addresses may still be in your SPF record — remove them once migration is complete.

Mailchimp

Add include:servers.mcsv.net. Mailchimp also recommends setting up DKIM authentication through their domain verification workflow, which provides better alignment for DMARC purposes.

SendGrid

SendGrid's domain authentication uses CNAME records for DKIM rather than a traditional SPF include:. If you set up SendGrid's domain authentication, their CNAME-based setup handles both DKIM and SPF alignment automatically.

Amazon SES

Add include:amazonses.com if using custom MAIL FROM, or let SES use its own domain. Amazon's DKIM signing through SES is highly recommended alongside SPF.

Zoho Mail

Add include:zoho.com. Zoho also has region-specific SPF records (e.g., include:zoho.eu for EU data centers) — check your Zoho dashboard for the correct one for your account.

Where to add the record in your DNS provider

DNS ProviderWhere to GoRecord TypeName
CloudflareDNS → Records → Add RecordTXT@ (root domain)
GoDaddyDomains → DNS → Add RecordTXT@
NamecheapAdvanced DNS → Add New RecordTXT Record@
AWS Route 53Hosted Zones → Create RecordTXT@ or apex
Google Domains / SquarespaceDNS → Custom RecordsTXT@

After adding your record, wait for DNS propagation (usually 5–30 minutes on Cloudflare, up to 48 hours on some registrars) and then re-run our SPF checker to confirm the record is live and valid.

Common SPF Mistakes: What Breaks Email Delivery and How to Fix It

A surprising number of email delivery problems trace back to a broken or misconfigured SPF record. These are the mistakes our SPF checker most frequently catches, and what to do about each one.

Having two SPF records

This is the number-one mistake. You must have exactly one TXT record beginning with v=spf1 on your domain. If you have two, receiving servers return a PermError and may reject or ignore SPF entirely. This often happens when someone adds a new provider's SPF record instead of updating the existing one. Always edit your existing SPF record to add new includes — never create a second one.

Using +all (PassAll) — a critical security error

The qualifier +all means "authorize every mail server on the internet to send email as my domain." It completely negates the purpose of SPF. If you see +all in your record, change it to -all or at minimum ~all immediately. This is an open invitation for anyone to spoof your domain.

Forgetting to include all sending services

If your CRM, helpdesk software, or invoicing platform sends emails as your domain, it must be in your SPF record. Forgotten third-party senders are a common cause of legitimate emails going to spam. When you add a new tool to your stack, ask immediately: "Does this send email as our domain? Does it need SPF?" and update accordingly.

Old IP addresses still in the record

After migrating from an old email hosting provider, IT teams often forget to remove the old provider's SPF includes. This wastes lookup budget and can cause confusion. After any email infrastructure migration, audit your SPF record within 30 days to remove outdated entries.

SPF working but DMARC still failing

SPF passing is not the same as DMARC passing. DMARC requires alignment — the domain authenticated by SPF (the MAIL FROM / envelope sender) must match the domain in the visible From header. If your email service provider sends from their own return-path domain, SPF may pass their domain but still fail alignment for your domain. The solution is DKIM signing with your domain, which aligns more reliably for third-party senders.

Best practice: Treat SPF as one layer of a three-layer stack. SPF alone is not enough — implement DKIM on all platforms and enforce DMARC with at least p=quarantine to get real protection against domain spoofing.

Free SPF Record Checker & Syntax Validator — Technical Verification Mechanics

Free SPF Record Checker & Syntax Validator performs real-time queries against public DNS over HTTPS (DoH) endpoints, RDAP/WHOIS databases, SSL Certificate Transparency logs, and RFC protocol standards.

Zero-Retention Privacy Guarantee

Queries are executed statelessly directly in your browser or edge isolate. No scan queries, target URLs, or IP logs are saved to databases.

Real-Time RFC Compliance

Validates RFC 7208 (SPF), RFC 6376 (DKIM), RFC 7489 (DMARC), and TLS 1.3 standards to deliver accurate diagnostic feedback.

Free SPF Record Checker & Syntax Validator — Frequently Asked Questions

Can a domain have more than one SPF record?
No — having multiple SPF TXT records causes a "permerror" and breaks authentication entirely; all authorized senders must be combined into a single SPF record.
What's the difference between SPF softfail (~all) and hardfail (-all)?
Softfail marks unauthorized mail as suspicious but usually still delivers it (often to spam), while hardfail instructs receiving servers to reject it outright — hardfail is stricter and more secure.
How do I add Google Workspace or Microsoft 365 to my SPF record?
Add the provider's specific "include" mechanism (e.g., include:_spf.google.com or include:spf.protection.outlook.com) to your existing SPF record rather than creating a new one.
What is the SPF 10 DNS lookup limit and why does it matter?
SPF evaluation fails if resolving all "include" mechanisms requires more than 10 DNS lookups — an SPF checker flags when you're approaching or exceeding this limit.
Will fixing my SPF record improve email deliverability immediately?
Improvements typically take effect within DNS propagation time (minutes to 48 hours), after which mailbox providers should recognize the corrected authentication.
Do I need an SPF record if I only send email through one provider?
Yes — even single-provider senders need SPF to explicitly authorize that provider's servers; without it, your domain remains spoofable by anyone.
What does an SPF checker do?
It looks up your domain's SPF (Sender Policy Framework) record in DNS and validates the syntax, authorized senders, and common errors like exceeding the 10 DNS lookup limit.
Why is my SPF record failing?
Common causes include too many DNS lookups (over 10), multiple SPF records on one domain, missing "include" statements for third-party senders, or a typo in the syntax.
How do I check if my domain has an SPF record?
Enter your domain into an SPF checker — it queries DNS TXT records and displays your current SPF policy along with any errors found.
What happens if I don't have an SPF record?
Without SPF, receiving mail servers can't verify your emails are authorized, making your domain an easier target for spoofing and increasing the chance your legitimate emails land in spam.
Can SPF alone stop email spoofing?
No — SPF works best combined with DKIM and DMARC; an SPF checker is the first step, but full protection requires all three authentication methods aligned.
What is an SPF record?
SPF (Sender Policy Framework) is a DNS TXT record that lists which mail servers are authorized to send email on behalf of your domain. It helps prevent email spoofing and protects your domain's reputation.
Why is SPF important for email security?
Without SPF, anyone can send email claiming to be from your domain. SPF allows receiving mail servers to verify that incoming mail from your domain comes from an authorized server, helping prevent phishing and spam.
What does 'SPF record not found' mean?
It means your domain has no SPF record published in DNS. This leaves your domain vulnerable to email spoofing and may cause your legitimate emails to be marked as spam by services like Gmail, Outlook, and Proofpoint.
What is the difference between ~all and -all in SPF?
'-all' (hard fail) is strict — mail from unlisted servers is rejected. '~all' (softfail) means mail from unlisted servers may be accepted but marked as suspicious. For maximum security, use -all once your SPF record is fully configured.
How many DNS lookups can an SPF record have?
SPF records are limited to 10 DNS lookups (void lookups count toward this limit). Exceeding this causes a PermError and email delivery failures. Use SPF flattening tools to stay within the limit.
Can I have multiple SPF records on my domain?
No. Multiple SPF records on the same domain cause a PermError. You must merge all SPF policies into a single TXT record starting with 'v=spf1'.
How does this compare to MXToolbox's SPF checker?
Both validate SPF records and flag syntax errors; differences typically come down to interface clarity, additional context provided, and whether bulk/API checking is supported.
How do I add Shopify, Mailchimp, or SendGrid to my SPF record?
Add each platform's specific SPF 'include' mechanism to your existing record (e.g., include:servers.mcsv.net for Mailchimp) rather than replacing your current SPF setup.
What is 'SPF flattening' and when do I need it?
Flattening resolves all nested 'include' statements into static IP addresses to stay under the 10 DNS lookup limit — useful for domains using many third-party senders, though it requires re-flattening whenever a provider changes its IPs.
Can I check SPF records for multiple domains in bulk?
Yes, some SPF checker tools accept bulk domain lists via CSV or API, useful for agencies managing email authentication across many client domains.
How do I check my SPF record using command line tools?
Use 'dig TXT yourdomain.com' or 'nslookup -type=TXT yourdomain.com' to view the raw SPF record, though a dedicated checker also validates syntax and flags errors automatically.
Does SPF protect against phishing emails that display my display name but not my domain?
No — SPF only validates the sending domain, not the display name; attackers can still spoof a display name like 'Your Bank Support' from an unrelated domain, which is why DMARC and user awareness matter too.
What is SPF in email, explained simply?
SPF (Sender Policy Framework) is a DNS record that lists which mail servers are allowed to send email on behalf of your domain, helping receiving servers reject spoofed messages from unauthorized sources.
Do small businesses really need to worry about SPF if they just use one email provider?
Yes, even single-provider setups need SPF to explicitly authorize that provider — skipping it leaves your domain fully open to impersonation regardless of how simple your email setup is.
Is SPF configuration relevant to healthcare email compliance?
Yes, while SPF alone isn't a HIPAA requirement, strong email authentication supports the broader security posture expected when transmitting communications that may reference patient information.
Why would a nonprofit organization need to check its SPF record?
Nonprofits frequently send fundraising and donor emails from multiple platforms (donation processors, newsletter tools), and each needs proper SPF authorization to avoid emails landing in spam or being spoofed.
Do real estate agents need SPF given how much email-based fraud targets home purchases?
Yes, wire fraud scams targeting real estate transactions often involve spoofed agent or title company emails — proper SPF (along with DMARC) helps prevent your domain from being used in such scams.
Can law firms lose client trust from poor SPF/email security?
Yes, spoofed emails impersonating a law firm to request fraudulent wire transfers are a known scam, making strong SPF and DMARC configuration a reputational as well as a security concern.
What is an SPF record and how does an SPF checker work?
An SPF (Sender Policy Framework) record is a DNS TXT record that lists all authorized mail servers permitted to send email on behalf of your domain. IncogSay's free SPF checker performs live DNS queries, parses the 'v=spf1' record, counts DNS lookups against the RFC 10-lookup limit, and validates mechanism syntax.
What is the 10 DNS lookup limit in SPF records?
RFC 7208 limits SPF evaluations to a maximum of 10 DNS lookups (caused by 'include:', 'a', 'mx', 'redirect=', and 'exists:' mechanisms). Exceeding 10 lookups causes receiving mail servers (like Google Gmail and Microsoft 365) to return a PermError, failing email delivery.
What is the difference between ~all (SoftFail) and -all (HardFail)?
'-all' (HardFail) tells receiving servers to reject any email from unlisted servers. '~all' (SoftFail) accepts the email but marks it as suspicious. '~all' is standard when combined with a strong DMARC policy (p=quarantine or p=reject).
Why is +all dangerous in an SPF record?
'+all' explicitly authorizes every server on the entire internet to send email claiming to be from your domain, rendering SPF completely useless and enabling unrestricted email spoofing.
How to check SPF records for Google Workspace or Microsoft 365?
Enter your domain into our SPF checking tool. For Google Workspace, your SPF record should typically include 'include:_spf.google.com ~all'. For Microsoft 365, it should include 'include:spf.protection.outlook.com -all'.
How to validate SPF syntax and detect errors?
Our SPF syntax validator inspects character escaping, duplicate declarations, multiple SPF records (which violates RFC standards), invalid IP addresses, and deprecated mechanisms like 'ptr'.
How do I add or update an SPF record in my DNS?
Log in to your DNS provider (e.g. Cloudflare, GoDaddy, Namecheap, Route 53), navigate to DNS Records, create a TXT record with Name '@' (or your root domain), and set the Value to your validated SPF string (e.g. 'v=spf1 include:_spf.google.com ~all').
Can a domain have multiple SPF records?
No! A domain must have exactly ONE SPF record. Having multiple TXT records starting with 'v=spf1' causes a PermError in mail servers. All sending services must be combined into a single record.
What is an SPF testing tool and how fast are results?
IncogSay is a real-time SPF testing tool and validator that queries global DNS over HTTPS in under 15 milliseconds, giving you instant diagnostics.
Is IncogSay's SPF validator tool free to use?
Yes. Our SPF record checker, syntax validator, lookup counter, and test tool are 100% free with zero registration required.