Free SPF Record Generator
Create Valid SPF DNS Records in Seconds

Published May 1, 2026 · 6 min read

Without an SPF record, anyone can send emails that look like they came from your domain. Google and Yahoo now require SPF for all bulk senders. Here's how to generate one — free, no signup, instant.

What Is an SPF Record?

SPF (Sender Policy Framework) is a DNS TXT record that tells the world: "These specific servers are allowed to send email from my domain. Anyone else? Block them."

It's the simplest anti-spoofing protection you can add to your domain — one DNS record that prevents scammers from sending phishing emails that appear to come from you.

Example SPF Record

v=spf1 include:_spf.google.com ~all

This tells the world: "Google's mail servers can send email from my domain. Everything else? Mark as suspicious."

SPF Record Syntax Explained

Mechanism What It Does Example
v=spf1 Version — always start with this v=spf1
include: Authorize another domain's SPF include:_spf.google.com
mx Allow your MX servers to send mx
a Allow your A/AAAA record IPs a
ip4:/ip6: Allow specific IPs ip4:192.0.2.1
~all Softfail — mark unmatched as suspicious ~all
-all Hardfail — reject unmatched -all

Common SPF Templates

📧 Google Workspace

v=spf1 include:_spf.google.com ~all

📧 Microsoft 365

v=spf1 include:spf.protection.outlook.com ~all

📧 Zoho Mail

v=spf1 include:zoho.com ~all

📧 SendGrid

v=spf1 include:sendgrid.net ~all

📧 Mailchimp (Transactional)

v=spf1 include:spf.mandrillapp.com ~all

📧 Multiple Providers

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

You can chain multiple includes — but keep it under 10 DNS lookups!

🛡️ Test Your SPF After Adding It

Use our free email deliverability checker to verify SPF, DKIM, DMARC, and MX records.

Check Your Domain Now →

How to Add Your SPF Record

  1. Log into your DNS provider — Cloudflare, Namecheap, GoDaddy, AWS Route53, etc.
  2. Go to DNS settings for your domain.
  3. Add a new TXT record:
    • Name/Host: @ (or your domain root)
    • Type: TXT
    • Value: Your SPF string (e.g., v=spf1 include:_spf.google.com ~all)
    • TTL: 3600 (1 hour) is fine
  4. Save and wait 15-60 minutes for propagation.
  5. Verify with the Korpo.Pro email checker — you should see ✅ SPF Configured.

5 Common SPF Mistakes

  1. Multiple SPF records. You can only have ONE SPF TXT record per domain. If you need multiple providers, combine them: include:provider1 include:provider2
  2. Too many DNS lookups. SPF has a 10-lookup limit. Each include:, a, mx, ptr counts as 1 lookup. Nested includes count too.
  3. Using +all. Never end with +all — it authorizes EVERYONE to send from your domain. Always use ~all or -all.
  4. Forgetting to update when switching providers. If you move from Google to Microsoft, update your SPF. Old includes = security holes.
  5. Not testing after adding. Always run a check — a typo in your SPF record silently breaks your email deliverability.

SPF Alone Isn't Enough

SPF protects against domain spoofing — but not everything. You also need:

All three are free DNS TXT records. Use the SPF/DKIM/DMARC setup guide to configure all of them in one session.

📊 Full Deliverability Audit — €9

Get a professional PDF report with your SPF, DKIM, DMARC, MX records, blacklist status, and step-by-step fixes.

📄 Get Your PDF Report →

TL;DR

🔒 SSL Secured 🛡️ No-Log Policy 🛠️ 53 Free Tools 👥 1,300+ Daily Users ₿ Crypto-Native