A typical record looks like v=spf1 include:_spf.example.com ~all. The include parts name allowed services, and the ending says what to do with everything else: ~all marks it as suspicious, -all asks for rejection.

SPF has a limit of 10 DNS lookups. Adding many services can break it, so remove tools you no longer use. SPF works together with DKIM and DMARC.

Related