TXT record name
Some DNS panels use @ for the main domain.
ToolsSPF record generator
Some DNS panels use @ for the main domain.
Each include, a and mx costs one DNS lookup, and includes nested inside them count too. IPs written directly cost nothing. Counts for the listed services were measured on 2 Nov 2026.
A domain may have only ONE SPF record (starting with v=spf1). If your DNS already has one, edit it instead of adding another. Two SPF records at once break SPF.
SPF is a TXT record listing who may send mail as your domain. Receivers use it to tell real mail from fakes. This tool builds the record in your browser and counts the DNS lookups for you.
Edit the existing record instead of adding a second one. Two SPF records on one domain break SPF. Tick every service that sends your mail, then replace the old value with the new one.
Each include, a and mx makes the receiver do one more DNS lookup, including includes nested inside them. More than 10 and SPF fails, so mail is more likely to land in spam. IPs written directly cost nothing.
Start with ~all. Once you are sure every sender is listed and DMARC is in place, you can switch to -all to reject spoofed mail more firmly.