Login Button

Speak to an Email Deliverability Consultant FOR FREE

EmailWarmup
Pricing

Free SPF Record Generator

Generate Your SPF Record in Under 60 Seconds

Our free SPF record generator creates valid, error-free SPF records that authorize your sending sources in DNS — you don’t need any technical knowledge.

Login Button

Let's secure your domain!
Enter the domain to set up SPF records

Trusted by 1000+ companies

How to Publish Your Generated SPF Record in DNS

Publishing an SPF record means creating a TXT record in your domain's DNS zone. Most domain registrars and DNS hosting providers (GoDaddy, Cloudflare, Route 53, Namecheap) have a DNS management console where you add records manually.

Step 1: Log in to your DNS provider

Access your domain registrar or DNS hosting control panel. Look for "DNS Management," "Zone Editor," or "Advanced DNS."

Step 2: Navigate to your domain's DNS zone

Find the domain you're configuring SPF for. Select it to open the record editor.

Step 3: Create a new TXT record

Choose "Add Record" or "Create Record." Set the record type to TXT.

Step 4: Set the hostname

Leave the hostname field blank (or enter @) to publish the SPF record at your root domain. Some providers require _spf as the hostname — check your DNS documentation.

Step 5: Paste your generated SPF record

Copy the SPF record from EmailWarmup.com's generator and paste it into the "Value" or "TXT Content" field.

Step 6: Set TTL (Time to Live)

Use the default TTL (usually 3600 seconds / 1 hour) or set a custom value. Lower TTL values propagate changes faster but increase DNS query load.

Step 7: Save changes

Click "Save," "Add Record," or "Publish" to commit the SPF record to DNS.

Step 8: Verify your SPF record

Wait 10-30 minutes for DNS propagation. Use EmailWarmup.com's free SPF checker to confirm the record is published correctly and contains no syntax errors.

SPF Mechanisms That Authorize Your Sending Sources

An SPF record starts with v=spf1 and ends with an all mechanism. Everything in between defines which mail servers and IP addresses can send email for your domain.

MechanismWhat It DoesSyntax ExampleDNS Lookups
vProtocol version (always spf1)v=spf10
ip4Authorizes IPv4 addresses or CIDR rangesip4:192.168.0.1 ip4:10.0.0.0/240
ip6Authorizes IPv6 addresses or rangesip6:2001:db8::10
aAuthorizes IPs in your domain's A recordsa or a:example.com1 per domain
mxAuthorizes IPs in your domain's MX recordsmx or mx:example.com1 per domain
includeDelegates authorization to another domain's SPF policyinclude:_spf.google.com1 per include
existsPasses if an A record exists for the specified domainexists:%{i}.example.com1
redirectReplaces your entire SPF policy with another domain's policyredirect=example.com1
ptrChecks reverse DNS hostname (deprecated, RFC 7208)ptr1 per PTR
allCatch-all for non-matching sources (always last)-all ~all ?all0

SPF Qualifiers and Policy Enforcement

SPF qualifiers control what happens when a sending source matches (or doesn't match) a mechanism in your record.

QualifierNameWhat It Means
+PassExplicitly authorized (default, rarely written)
-Fail (Hard Fail)Reject the email outright
~Soft FailAccept, but mark as suspicious.
?NeutralNo policy (same as no SPF record)

SPF Alone Won’t Stop Spoofing!

Your SPF record doesn't protect against spoofing because the email technically passes SPF for attacker.com (not yourcompany.com). You need a proper email authentication setup to improve your inbox rate. At EmailWarmup.com, you can talk to an email deliverability consultant for free and let our team:

  • Help you with email segmentation, strategy, and audit
  • Configure SPF, DKIM, and DMARC for your domain
  • Fix authentication issues, killing your inbox rate
  • Remove you from email blacklists
  • Book your time today and make sure your email infrastructure is 100% bulletproof — so your emails land in the inbox instead of spam or promotions.

    Email Deliverability Illustration

    Frequently asked questions
    about our FREE SPF Generator

    Here’s everything you need to know about our SPF Generator:

    +

    What is an SPF record?

    +

    Can I have multiple SPF records for one domain?

    +

    What is the SPF 10 DNS lookup limit?

    +

    What are examples of common SPF records?

    +

    What is an SPF PermError?

    +

    How do I check my SPF lookup limit?

    +

    How strict should my SPF policy be?

    DMARC Illustration