SPF Record Generator
Generate valid SPF records for your domain with EasyDMARC’s SPF record creator
What Is EasyDMARC’s SPF Record Generator?
Our SPF Record Generator tool allows you to create a valid SPF record. Generally, SPF provides mechanisms, qualifiers, and modifiers to allow domain administrators to specify IP addresses in a highly flexible way. Our SPF Record Generator tool wizard was designed to make this process fast and easy. Read more about how to create an SPF record here.
How Is an SPF Record Structured?
An SPF record has a list of tags and values. The structure of an SPF record looks like this:
v=spf1 [mechanism] [modifier] [all]
It should always start with version v=spf1, and it should always end with all tags.
An SPF record is composed of four parts.
- The first is a version identifier that tells the receiving mail server what version of SPF is being used.
- The second is a list of mechanisms, which are the different parts of the SPF record that determine how a mail server should handle mail sent from a given email address.
- The third part is a list of modifiers, which determine how the server should handle mail if it comes from an IP address or domain name that is not on the list of mechanisms.
- Finally, the fourth part is the all mechanism, which is the default action for mail that does not match any other mechanisms in the record.
How To Publish a Generated SPF Record in DNS?
The SPF record is a TXT record, so you need to publish it in your DNS as a TXT record as follows
- Navigate to the DNS for your desired domain
- Create a new TXT Record
- Write the name of the domain in the “Host” field
- Enter the generated SPF record in the “Value” or “Target” column
What Are the Limitations of an SPF Record?
The SPF record has several limitations:
- 10 DNS lookup limit. If you exceed this limit, it will result in a permerror
- No prevention of the From: address spoofing attacks
- No reporting to evaluate your SPF “health”