spf_Manager

SPF Record Analyzer & Editor

Instructions

  1. Paste your existing SPF record or start with a new one
  2. Click "Analyze Record" to parse and validate the record
  3. Use the editor to add, edit, remove, or reorder mechanisms
  4. Copy the final SPF record and add it as a TXT record in your DNS settings

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)