SPF Record Checker

Analyze and validate SPF records for any domain with comprehensive insights and recommendations

Enter a domain name without http:// or www

Understanding SPF Records

Learn how SPF records help protect your domain from email spoofing and improve deliverability

What is an SPF Record?

A Sender Policy Framework (SPF) record is a DNS TXT record that specifies which mail servers are allowed to send email on behalf of your domain. It helps prevent email spoofing and protects your domain’s reputation by providing a way for receiving mail servers to verify if the sending server is authorized.

Why SPF Records are Important

  • Prevent Email Spoofing: Stop unauthorized servers from sending email as your domain
  • Improve Email Deliverability: Emails from authorized servers are less likely to be marked as spam
  • Protect Domain Reputation: Prevent your domain from being blacklisted due to spoofed emails
  • DMARC Compliance: SPF is a key component for implementing DMARC email authentication

How SPF Works

When a receiving mail server gets an email claiming to be from your domain, it:

  1. Checks the sending server’s IP address
  2. Looks up your domain’s SPF record in DNS
  3. Verifies if the sending IP is listed in your SPF record
  4. Handles the email according to your SPF policy (pass, soft fail, hard fail)

SPF Record Mechanisms

  • v=spf1: Specifies SPF version 1
  • a: Authorizes the A record (IPv4 addresses) of your domain
  • mx: Authorizes all the mail servers listed in your MX records
  • ip4:: Specifies authorized IPv4 addresses or ranges
  • ip6:: Specifies authorized IPv6 addresses or ranges
  • include:: Includes another domain’s SPF record
  • ~all: Soft fail – unauthorized servers are treated as suspicious
  • -all: Hard fail – unauthorized servers are rejected

Best Practices for SPF Records

  • Use -all instead of ~all for stricter security
  • Keep DNS lookups under 10 to prevent lookup limit errors
  • Include all legitimate email sources (website, marketing tools, etc.)
  • Regularly review and update your SPF record
  • Use SPF in conjunction with DKIM and DMARC for comprehensive protection
  • Remove unnecessary or redundant mechanisms

Common SPF Problems

  • Too Many DNS Lookups: More than 10 DNS lookups will cause SPF to fail
  • Missing Authorized Senders: Some legitimate email sources aren’t included
  • Incorrect Syntax: Typos or formatting errors in the SPF record
  • Multiple SPF Records: Only one SPF record should exist per domain
  • Overly Permissive Policy: Using ?all or +all allows anyone to send

This SPF Record Checker analyzes your domain’s SPF records to help improve email deliverability and security.