SiteTidy
Home /Tools /SPF Generator

SPF Record Generator

Easily create a valid SPF TXT record for your domain.

SPF Record Generator

Create a secure Sender Policy Framework (SPF) record to authorize specific mail servers and prevent email spoofing attacks on your domain.

Domain Mechanisms

Static IP Authorizations

Third-Party Services (Includes)

Beware Limit (10)

Policy Strictness (All Mechanism)

SPF Record Value
TXT Record ContentSecure
v=spf1mxainclude:_spf.google.com-all

DNS Implementation Guide

Log in to your domain registrar (e.g., GoDaddy, Cloudflare, Namecheap) and create a new DNS record with the following settings:

  • Type: TXT
  • Name/Host: @ (or blank)
  • Value: Paste the generated value above

How to Add the SPF Record

  1. Log in to your domain registrar or DNS hosting provider (e.g., Cloudflare, GoDaddy, Route53).
  2. Navigate to the DNS management page for your domain.
  3. Create a new DNS record.
  4. Set the type to TXT.
  5. Set the name/host to @ (or leave it blank, depending on your provider, which represents the root domain).
  6. Paste the generated SPF record (starting with v=spf1) into the value/content field.
  7. Save the record.

Note: It can take up to 48 hours for DNS changes to propagate globally, though it is usually much faster.

Related Guides

Deepen your understanding with our expert articles.