How to use it
- Enter the domain that will own the SPF record.
- Choose whether to add the mx mechanism.
- Choose whether to add the a mechanism.
- Enter any third-party include domains as a comma-separated list.
- Select SoftFail, Fail, or Neutral as the final all policy.
- Click Generate SPF Record and copy the generated TXT value.
The generator concatenates the chosen text and does not validate domains or count DNS lookups. Review the result before publishing it.
What is the purpose of the tool
SPF Record Generator builds a basic v=spf1 policy from a small set of controls. It can add the domain's MX and A sources, third-party include mechanisms, and one final all qualifier.
The output is formatted for a DNS TXT record and runs entirely in the browser. It is not a complete policy designer for IP mechanisms, redirect modifiers, or lookup analysis.
What parameters it generates in output
| Field | Meaning | Healthy result |
|---|---|---|
| Generated TXT Record | The assembled SPF string displayed in the result header. | It begins with v=spf1 and ends with the chosen all policy. |
| DNS Record Type | The DNS type to use for SPF publication. | TXT is displayed. |
| Host / Name | The entered domain, or example.com when blank. | It matches the owner format required by your DNS provider. |
| Record Value | The same generated SPF policy for the TXT value. | It includes only authorized sending mechanisms. |
| TTL | The suggested static cache value shown by the page. | 3600 seconds (1 hour) is displayed. |
FAQs related to that specific tool
What happens if Domain Name is blank?
The generator uses example.com for Host / Name. The SPF string itself is still built from the selected mechanisms and policy.
How do I add several include services?
Separate their domains with commas. Each nonblank item becomes its own include mechanism in the generated value.
Does the generator validate include domains?
No. It prefixes include: to each entered item without DNS lookup or syntax validation.
What is the difference between SoftFail, Fail, and Neutral?
The choices append ~all, -all, or ?all respectively. Select a policy that matches your tested mail deployment.
Why are mx and a added without a plus sign?
An omitted SPF qualifier means pass, so mx and a are equivalent to +mx and +a in the generated policy.
Does the generated string guarantee a valid SPF deployment?
No. The page assembles text but does not test lookup limits, duplicate records, sending sources, or DNS publication.