DNS RobotDNS Propagation Checker
HomeDNS LookupWHOIS LookupIP LookupSSL Check
DNS RobotDNS Propagation Checker

Next-generation DNS propagation toolkit

Privacy PolicyTerms of ServiceAbout UsContact

DNS Tools

DNS LookupDomain to IPNS LookupMX LookupCNAME LookupView all

Email Tools

SPF Record CheckerDMARC CheckerDKIM CheckerSMTP Test ToolEmail Header AnalyzerView all

Website Tools

WHOIS LookupDomain AvailabilitySubdomain FinderCMS DetectorLink AnalyzerView all

Network Tools

Ping ToolTraceroutePort CheckerHTTP Headers CheckSSL Certificate CheckView all

IP Tools

IP LookupWhat Is My IPIP Blacklist CheckIP to HostnameASN LookupView all

Utility Tools

QR Code ScannerQR Code GeneratorMorse Code TranslatorText to Binary ConverterSmall Text GeneratorView all
© 2026 DNS Robot. Developed by ❤ Shaik Brothers
All systems operational
Made with
  1. Home
  2. /
  3. Email Tools
  4. /
  5. SPF Checker

SPF Checker

Check SPF records for any domain instantly. Our free SPF checker validates SPF syntax, counts DNS lookups, resolves include chains, checks RFC 7208 compliance, and gives you a health score with 12 validation checks. The most comprehensive SPF record check tool online.

Free SPF ToolSPF Record Check12 ValidationsInclude Chain Resolution
SPF Record Checker

What Is an SPF Record?

An SPF record (Sender Policy Framework) is a DNS TXT record that specifies which mail servers are authorized to send email on behalf of your domain. When a receiving mail server gets an email claiming to be from your domain, it performs an SPF check by querying your DNS for the SPF record and comparing the sending server's IP address against the authorized list. If the IP matches, the email passes SPF authentication.

Our free SPF checker goes beyond basic SPF record lookup. It recursively resolves all include chains, counts DNS lookups against the RFC 7208 limit of 10, parses every mechanism with qualifier analysis, flattens all authorized IP addresses, and runs 12 validation checks to give you a comprehensive SPF health score. Whether you're troubleshooting email deliverability, auditing security, or configuring a new mail service, this tool provides complete SPF record validation in seconds.

SPF checker showing validation results with health score, include tree resolution, and authorized IPs
DNS Robot's SPF checker validates SPF records with 12 checks, include tree resolution, and authorized IP flattening.

How to Check SPF Record (3 Methods)

There are several ways to check SPF records for any domain. Our online SPF checker is the fastest and most thorough method, but command-line tools also work for quick lookups.

How SPF works — email flow from sender through DNS SPF lookup to receiver authentication decision
How SPF works: the receiving mail server checks the sender's IP against authorized IPs listed in the domain's SPF record.
1
Online SPF Checker (Recommended)
Enter any domain in our SPF record checker above and click "Check SPF". You'll instantly see the full SPF record, parsed mechanisms with qualifiers, DNS lookup count, recursive include tree, all authorized IPs, and a health score based on 12 validation checks.
2
Using nslookup (Windows/Mac/Linux)
Open a terminal and run nslookup -type=txt example.com. Look for the TXT record starting with v=spf1. This shows the raw SPF record but doesn't count lookups or resolve includes.
3
Using dig (Mac/Linux)
Run dig example.com TXT +short for a quick SPF lookup. Filter for SPF with dig example.com TXT +short | grep spf. For all DNS record types, use our DNS Lookup tool.

SPF Record Mechanisms — Complete Guide

SPF records use mechanisms to define which servers can send email for your domain. Each mechanism can have a qualifier (+ Pass, - Fail, ~ SoftFail, ? Neutral) that determines how receiving servers handle matching senders.

ip4 / ip6

Authorize specific IPv4 or IPv6 addresses and CIDR ranges. No DNS lookup required. Example: ip4:192.0.2.0/24

include

Reference another domain's SPF record. Counts as 1 DNS lookup. Used for third-party services like Google Workspace or Microsoft 365.

a / mx

Authorize the domain's A/AAAA records or MX servers. Each counts as 1 DNS lookup. Example: mx authorizes all MX servers.

all

Default rule for unmatched senders. -all (reject) is recommended. ~all (soft fail) is more lenient. Must be last mechanism.

redirect

Replace the current SPF with another domain's SPF entirely. Counts as 1 lookup. Used when multiple domains share the same SPF policy.

ptr (deprecated)

Reverse DNS check. Deprecated by RFC 7208 due to performance and reliability issues. Our SPF checker flags PTR usage as a warning.

Our 12 SPF Validation Checks

DNS TXT record exists for the domain
SPF record found (starts with v=spf1)
Only one SPF record published
Valid SPF syntax (no parsing errors)
DNS lookup count ≤10 (RFC 7208)
No mechanisms after "all"
No deprecated PTR mechanism
Record length ≤255 characters
Void lookups ≤2 (no dead includes)
"all" mechanism present
No permissive +all policy
Strict policy (-all) recommended

SPF Record Best Practices

Use -all (hard fail) for maximum protection against spoofing
Keep DNS lookups under 10 to avoid permerror
Use ip4/ip6 for known server IPs (no lookup cost)
Only include services you actively use
Avoid the deprecated PTR mechanism
Never publish more than one SPF record
Consider SPF flattening for complex include chains
Pair SPF with DMARC and DKIM for complete email authentication

SPF vs DKIM vs DMARC — Email Authentication Explained

SPF is one pillar of email authentication. Together with DKIM and DMARC, it forms a complete defense against email spoofing and phishing. Here's how they work together:

SPF vs DKIM vs DMARC comparison showing sender IP check, message signing, and enforcement policy
SPF, DKIM, and DMARC work together: SPF checks sender IP, DKIM verifies message integrity, DMARC sets enforcement policy.
SPF

What: Verifies the sending server's IP is authorized

How: DNS TXT record listing allowed IPs

Checks: Envelope sender (Return-Path)

DKIM

What: Verifies the message wasn't tampered with

How: Cryptographic signature in email headers

Checks: Message integrity + signing domain

DMARC

What: Ties SPF + DKIM together with a policy

How: DNS TXT record with enforcement rules

Checks: From header alignment with SPF/DKIM

Related Email & DNS Tools

DMARC Checker

Check DMARC policy, reporting settings, and alignment mode.

DKIM Checker

Verify DKIM signatures and public key DNS records.

MX Lookup

Check MX records and detect email providers for any domain.

DNS Lookup

Check all DNS record types (A, AAAA, CNAME, MX, TXT, and more).

DNS Validator

Run 17 DNS health checks including SPF and DMARC validation.

IP Blacklist Checker

Check if your mail server IP is blacklisted on major RBLs.

Frequently Asked Questions About SPF Checker

What is an SPF record?

An SPF (Sender Policy Framework) record is a DNS TXT record that specifies which mail servers are authorized to send email on behalf of your domain. It helps prevent spoofing by allowing receiving servers to verify sender authenticity. Every domain that sends email should have an SPF record.

How to check SPF record of a domain?

Enter the domain in our SPF checker above and click "Check SPF". You'll see the parsed SPF record, 12 validation checks, include tree, and authorized IPs. Command-line: dig example.com TXT +short | grep spf.

Why is the 10 DNS lookup limit important?

RFC 7208 limits SPF to 10 DNS lookups (include, a, mx, ptr, exists, redirect each count as 1). Exceeding this causes a permerror — receivers may reject your emails. Our SPF record check counts all lookups including nested includes.

What does ~all vs -all mean in SPF?

-all (hard fail) tells receivers to reject non-matching emails. ~all (soft fail) marks them as suspicious. Use -all for maximum security once your SPF is fully configured.

Can I have multiple SPF records?

No. A domain must have exactly one SPF record. Multiple SPF records cause a permerror and both are invalidated. Combine all mechanisms into a single record using include mechanisms for third-party services.

What is SPF flattening?

SPF flattening replaces include mechanisms with the actual IP addresses they resolve to, reducing DNS lookup count. Our SPF checker shows all authorized IPs, making it easy to flatten include: entries into direct ip4:/ip6: mechanisms.

Why avoid PTR in SPF records?

PTR is deprecated by RFC 7208 because it requires reverse DNS lookups that are slow, unreliable, and can cause SPF evaluation timeouts. Use ip4, ip6, or include mechanisms instead.

How do SPF, DKIM, and DMARC work together?

SPF verifies sender IP authorization. DKIM adds cryptographic message signatures. DMARC ties them together with enforcement policy (none/quarantine/reject). All three should be configured for complete email security.

How often should I check my SPF record?

Check whenever you add/change email services, at least quarterly, and immediately if you notice delivery issues. Third-party includes can change their records, pushing you over the 10-lookup limit without your knowledge.

What are void lookups in SPF?

Void lookups occur when SPF DNS queries return NXDOMAIN or SERVFAIL. RFC 7208 limits these to 2 per evaluation. They usually indicate stale include references pointing to domains that no longer exist. Our SPF checker counts void lookups automatically.