MonitorDMARC

SPF Record Generator

Create a properly formatted SPF record in minutes. We count DNS lookups automatically and warn you before you hit the 10-lookup limit.

Quick Add Common Services

Click to quickly add common email service providers

IPv4 Addresses

Add IPv4 addresses or ranges (CIDR notation) for your mail servers

IPv6 Addresses (Optional)

Add IPv6 addresses or ranges for your mail servers

Include Mechanisms

Include SPF records from third-party services (e.g., _spf.google.com)

Additional Mechanisms

Allow servers in your MX records to send email
Allow the server at your domain's A record to send email

Final Policy

Specifies what to do with emails from servers not listed above

Your SPF Record

How to Add This Record to Your DNS

  1. Log in to your DNS provider (e.g., GoDaddy, Cloudflare, Namecheap)
  2. Navigate to DNS settings for your domain
  3. Add a new TXT record with these details:
    • Name/Host: @ or leave blank (for root domain)
    • Type: TXT
    • Value: (the record generated above)
    • TTL: 3600 (or default)
  4. Save the record and wait for DNS propagation (usually 5-30 minutes)
  5. Verify your record using our DNS Lookup Tool
⚠️ Important: Each domain should have only ONE SPF record. If you already have an SPF record, update it instead of creating a new one.

What is SPF?

SPF (Sender Policy Framework) is an email authentication method that specifies which mail servers are allowed to send email on behalf of your domain. Each domain should have only one SPF record.

Already have one? Look up your current SPF recordbefore you replace it.

Why use our SPF generator?

  • Quick-add buttons for popular email services (Google, Microsoft, Mailchimp, SendGrid)
  • Automatic DNS lookup counting (SPF has a 10-lookup limit)
  • IPv4 and IPv6 support with CIDR notation
  • Real-time validation and warnings
  • Copy-to-clipboard functionality
  • Step-by-step DNS setup instructions