All terms
Glossary · SPF details
SPF redirect
redirect is the modifier that hands evaluation over to another domain’s SPF record when no mechanism in the record matches; that record’s result becomes this domain’s result (RFC 7208 §6.1).
By: Kemal Özleyen, Cybersecurity Engineer · Check Point Workspace Security Expert · Kinetik Bilişim
How it works
It is designed to apply one record to many domains under the same administration: each domain writes v=spf1 redirect=_spf.example.com and the authorisations are kept in one place. If the target has no SPF record, the result is permerror, not none.
The difference from include: include uses only a pass from the other record and evaluation continues; redirect takes the other record’s result as it is. If the record has an all mechanism, redirect is ignored, which is why it should be written last. For a domain under someone else’s administration, include is more appropriate than redirect.
Example record
ornek.com.tr. TXT "v=spf1 redirect=_spf.ornek.com.tr"
_spf.ornek.com.tr. TXT "v=spf1 ip4:192.0.2.0/24 -all"
Last updated: