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:
example.com TXT “v=spf1 mx a ip4:22.214.171.124 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.