SPF Record Generator
Use this tool to generate your SPF record.
The tags and their definitions
|v (required)||The version tag. is the only allowed value is "spf1". If it's incorrect or the tag is missing, the SPF record will be ignored.|
|ip4||This tag should include all the IPv4 addresses that are allowed to send emails on behalf of the domain.|
|ip6||This tag should include all the IPv6 addresses that are allowed to send emails on behalf of the domain.|
|a||The A record tag allows the SPF to validate the sender by domain name's IP address. If left unspecified, it takes the value of the current domain.|
|mx||The MX record tag checks the MX record of the mail server(s). If left unspecified, it takes the value of the current domain.|
|ptr (Not recommended)||The PTR tag prompts a PTR check for client IP hostname(s). It's a not recommended tag as per RFC 7208, because it spends too many DNS lookups.|
|exists||The exists tag checks if an A record exists or not on the mentioned domain.|
|include||The include tag is of top importance for a correct SPF record. Listing all your sending sources under this tag lets the recipient know that you verify all the aded domains/subdomains as legitimate sources.|
|all (required)||All is a required tag. It should be placed at the end of the SPF record. Depending on the qualifiers used (~, +, -, ?), this mechanism indicates how the recipient should treat emails from non-authorized sources.|
What is EasyDMARC's SPF Record Generator?
Our SPF Record Generator tool allows you to generate an 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 was designed to make this process fast and easy.
How is an SPF Record Structured?
An SPF record has a list of tags and values. It should always start with version v=spf1, and it should always end with all tags.
How to Generate an SPF Record?
For the SPF record to be completely created, you need to define what sources you are going to use for sending emails on behalf of your domain. You need to specify all those sources in your SPF 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 as the Host.
- Enter the SPF record that you have already created in the “Value” or “Target” column.
What are the Limitations of the 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.”