Home/Tools/SPF Record Generator

SPF Record Generator

Generate SPF records to authorize mail servers and prevent email spoofing

SPF Record Generator - Free Email Authentication Tool

Generate valid SPF (Sender Policy Framework) DNS TXT records to protect your domain from email spoofing and phishing attacks. Essential for email deliverability and works alongside DKIM and DMARC for complete email authentication.

Example: SPF Record Generation

Configuration:

Domain: example.com • Google Workspace + Mailchimp • Fail mode: softfail

Generated Record:

v=spf1 include:_spf.google.com include:servers.mcsv.net ~all

DNS Lookup Count:

✓ 2 lookups (under 10-lookup limit)

What You Can Configure:

  • • Authorize IP addresses (ip4/ip6 mechanisms)
  • • Include third-party email providers
  • • Add MX and A record authorizations
  • • Set policy enforcement (-all, ~all, ?all)
  • • Add multiple include domains
  • • Count DNS lookups (10-lookup limit)
  • • Validate SPF syntax automatically

Common Email Provider Includes:

  • • Google Workspace (_spf.google.com)
  • • Microsoft 365 (spf.protection.outlook.com)
  • • SendGrid (sendgrid.net)
  • • Mailchimp (servers.mcsv.net)
  • • Amazon SES (amazonses.com)
  • • Postmark (spf.mtasv.net)
  • • Custom mail server IPs

All SPF generation happens in your browser. Also try our DMARC Generator for policy enforcement or Email Auth Validator to test your configuration.

Loading interactive tool...

Need Help with Email Security?

Our team can configure SPF, DKIM, and DMARC to protect your domain from spoofing and improve email deliverability.

Frequently Asked Questions

Common questions about the SPF Record Generator

SPF (Sender Policy Framework) is a DNS TXT record that specifies which mail servers are authorized to send email on behalf of your domain. Without SPF, anyone can spoof your domain in phishing attacks. SPF helps receiving servers verify that incoming mail actually came from your authorized servers. Learn about email authentication protocols.

ℹ️ Disclaimer

This tool is provided for informational and educational purposes only. All processing happens entirely in your browser - no data is sent to or stored on our servers. While we strive for accuracy, we make no warranties about the completeness or reliability of results. Use at your own discretion.