Home/Tools/SPF Generator

SPF Generator

Generate SPF DNS records to authorize mail servers and prevent email spoofing from your domain

DNS Lookup Counter

0 of 10 lookupsUnder limit

Select Your Email Providers

Choose the services that send email on behalf of your domain. Each provider adds DNS lookups to your record.

Corporate Email

Marketing & Transactional Email

CRM & Support Platforms

Custom Mail Servers

Add static IP addresses for your own mail servers. IP addresses don't count toward the DNS lookup limit.

Tip: IP addresses (ip4: and ip6:) don't count toward the DNS lookup limit. Use them for your own mail servers.

Add Custom Mechanism

Terminator Policy

Choose what happens to emails from unauthorized senders:

Your SPF Record

v=spf1 -all

Validation Results

AGrade
No errors
0 warnings

✓ Your SPF record is properly formatted and follows best practices!

DNS Deployment Instructions

Follow these steps to deploy your SPF record:

  1. Log in to your DNS provider (domain registrar or DNS hosting service)
  2. Navigate to your domain's DNS records page
  3. Look for existing SPF record (TXT record containing "v=spf1")
  4. If SPF exists: REPLACE it (don't add a second one!)
  5. If no SPF exists: Create new TXT record
  6. Add TXT record:
    • Host/Name: @ (or leave blank for root domain)
    • Type: TXT
    • Value: v=spf1 -all
    • TTL: 3600 (1 hour)
  7. Save the record
  8. Wait 1-24 hours for DNS propagation
  9. Verify with DNS lookup tools (e.g., MXToolbox, Google Admin Toolbox)

IMPORTANT: Only one SPF record per domain! Multiple SPF records will cause validation failures.

Need Professional IT Services?

Our IT professionals can help optimize your infrastructure and improve your operations.

References & Citations

  1. Internet Engineering Task Force (IETF). (2014). Sender Policy Framework (SPF) for Authorizing Use of Domains in Email - RFC 7208. Retrieved from https://datatracker.ietf.org/doc/html/rfc7208 (accessed January 2025)
  2. Cloudflare. (2024). SPF Record Syntax. Retrieved from https://www.cloudflare.com/learning/dns/dns-records/dns-spf-record/ (accessed January 2025)
  3. Google. (2024). Email authentication best practices. Retrieved from https://support.google.com/a/answer/33786 (accessed January 2025)

Note: These citations are provided for informational and educational purposes. Always verify information with the original sources and consult with qualified professionals for specific advice related to your situation.

Frequently Asked Questions

Common questions about the SPF Generator

Sender Policy Framework (SPF) is DNS TXT record listing authorized mail servers for your domain. Format: v=spf1 ip4:192.0.2.0 include:_spf.google.com ~all. Recipient mail servers check if sending IP matches SPF record. Prevents email spoofing by validating sender. Mechanisms: ip4/ip6 (IP addresses/ranges), include (third-party SPF), a/mx (domain A/MX records), all (default policy). Essential email authentication with DKIM/DMARC.

0