Instructions
- Paste your existing SPF record or start with a new one
- Click "Analyze Record" to parse and validate the record
- Use the editor to add, edit, remove, or reorder mechanisms
- Copy the final SPF record and add it as a TXT record in your DNS settings
Analysis
Edit Record
Current Mechanisms
Add New Mechanism
Final SPF Record
DNS Implementation
Add this as a TXT record in your domain's DNS settings:
Host/Name: @ or your domain name
Type: TXT
Value/Content:
Edit Mechanism
CIDR Notation:
/32 - Single IP address (default if omitted)
/24 - Range of 256 IPs (192.168.1.0-192.168.1.255)
/16 - Range of 65,536 IPs (192.168.0.0-192.168.255.255)
About SPF Records
SPF (Sender Policy Framework) is an email authentication method designed to detect forging sender addresses during the delivery of email.
SPF Qualifiers:
- + (Pass): The sender is authorized (default if omitted)
- - (Fail): The sender is not authorized (recommended for 'all')
- ~ (SoftFail): The sender is "probably" not authorized but not certain
- ? (Neutral): No policy statement (rarely used)
Common Mechanisms:
- a: Authorizes the domain's A record IPs
- mx: Authorizes the domain's MX record IPs
- ip4/ip6: Authorizes specific IP addresses or ranges
- include: Incorporates another domain's SPF record
- all: Matches everything (should be the last mechanism)
CIDR Notation (for IP ranges):
- /32: Single IP address (default if omitted)
- /24: Range of 256 IP addresses (e.g., 192.168.1.0 to 192.168.1.255)
- /16: Range of 65,536 IP addresses (e.g., 192.168.0.0 to 192.168.255.255)