1. Home
  2. Docs
  3. DNS
  4. Sender Policy Framework (SPF)
  5. Generating an SPF record

Generating an SPF record

The SPF record must be created with a very specific format and is created as a “TXT” record within your domains list of DNS records. Your current domain registrar should provide a control panel interface for this or be able to add this record on your behalf. Tibus recommend using a tool to aid in generating these correctly, such as SPF wizard:

https://www.spfwizard.net/

SPF Wizard

Example

example.com  TXT “v=spf1 mx a ip4:212.108.93.10 include:_spf.google.com -all”

  • “mx” – The mx (mail exchanger) records for the domain (in this case example.com)
  • “a” – The IP address resolved by the DNS “A” record of example.com
  • “ip4:” – A specific ipv4 IP address
  • “include:” – Useful for including another domains SPF record, in this example, it is the SPF records for Google Gmail.