END OF YEAR SALE | 20% OFF with code TWENTYOFF2025 | Ends Dec 31, 2025

Free SPF Record Generator

Create a valid SPF record for your domain to prevent email spoofing.

Your SPF Record

v=spf1 ~all
Length: 12 chars
DNS Lookups: 0 / 10

Email Service Providers

Select the services that send email on behalf of your domain.

Failure Policy

What should happen when an email fails SPF validation?

Advanced Options

Domain Mechanisms

Custom Includes

Add additional domains (one per line)

IPv4 Addresses

CIDR notation supported

IPv6 Addresses

CIDR notation supported

How to Add This Record

1. Log in to your DNS provider
2. Navigate to DNS records
3. Add a new TXT record
4. Set Host to @
5. Paste the SPF record as Value
6. Save and wait for propagation

Understanding SPF Records

What is SPF?

SPF (Sender Policy Framework) prevents email spoofing by publishing a DNS record listing authorized mail servers for your domain.

Limitations

  • 10 DNS lookups max
  • 255 chars per string
  • One record per domain

Own your email platform

Broadcast is self-hosted email marketing software. Pay once, own it forever, and take full control of your email infrastructure.