Free SPF Generator Tool

Use our free SPF Record Generator tool to secure your domain. By listing all the sending sources authorized to send email from your domain, you can block email spoofing attempts from outsiders. Generate your unique SPF record, publish it on your DNS, and you’re all set!

SPF Record Generator

Use this tool to generate your SPF record.

mechanism-mx
mechanism-a
Please enter a valid IPv4 addresses. If you have multiple IPv4 addresses, please separate them using a space
Please enter a valid IPv6 addresses. If you have multiple IPv6 addresses, please separate them using a space
mechanism-mx-domain.com
Please enter a valid domain name, without the http:// prefix. If you have multiple domain names, please separate them using a space
mechanism-a-domain.com
Please enter a valid domain name, without the http:// prefix. If you have multiple domain names, please separate them using a space
mechanism-include
Please enter a valid domain name, without the http:// prefix. If you have multiple domain names, please separate them using a space
mechanism-exists
Please enter a valid domain name, without the http:// prefix. If you have multiple domain names, please separate them using a space

Please publish the following DNS TXT Record on your domain’s DNS

Record Type : TXT
Host : @
Value:

Analyze DMARC the right way with PowerDMARC

Why Should I Use an SPF Record Generator Tool?

Configuring SPF for your domain with the instant SPF record generator helps receiving MTAs check which IP addresses are allowed to send emails on your behalf. This ensures that unauthorized sending sources cannot send emails posing to be you.

PowerDMARC’s free SPF record generator allows you to:

  • Instantly create an SPF record for your domain

  • Generate a valid and error-free SPF record

  • Directly copy the created SPF record by clicking on the copy button

  • Configure SPF authentication for your domain by publishing the SPF record in your DNS

Steps to Publish the Generated SPF Record in Your DNS

  • Log in to your DNS management console

  • Navigate to your desired domain

  • Specify your resource type: TXT

  • Specify your hostname: _spf

  • Paste the value of your generated SPF record

  • Save changes to configure SPF for your domain

What Does PowerDMARC’s SPF Record Generator Do?

PowerDMARC’s SPF generator tool helps you set up SPF for your domains to start authorizing your sending sources. Using this automatic SPF creator tool, domain owners can instantly generate a Sender Policy Framework record that is ready to be published on their Domain Name System.

SPF Record Formatting Explained

The typical SPF record format is as follows:

v=spf1 include:_spf.example.com ~all

Info Info

Protocol version

The format of an SPF record begins with the protocol version, which is always v=spf1.

Info Info

Authorized senders

Next comes the list of authorized senders. This can be denoted by the “include” mechanism if a domain owner wants to delegate his domain’s SPF policy to another domain. Alternatively, the sender can specify IPv4 and IPv6 ranges to authorize sending servers.

Info Info

Failure mechanism

The “all” tag refers to the SPF failure mechanism which can be hardfail, softfail, or neutral depending on the qualifier set before it (+, -, ~, ?).

How to Publish Your Generated SPF Record

  • Log in to Your DNS Provider: Access the DNS management console of your domain registrar or hosting provider.

  • Locate the DNS Settings: Find the section for managing DNS records (often labeled “DNS Management,” “Zone Editor,” or “Advanced DNS”).

  • Add a New TXT Record: Select the option to create a new TXT record.

  • Enter the SPF Record: In the “Host” field, enter your domain (e.g., @ for the root domain). In the “Value” field, paste the generated SPF record.

  • Set TTL (Optional): Specify a Time-To-Live (TTL) value (default values like 3600 seconds work fine).

  • Save the Changes: Click “Save” or “Apply” to publish the record.

  • Verify the SPF Record: Use an SPF record checker to confirm that the record is correctly published.

spf record publish to dns