Breadcrumbs

How Do I Configure SPF?

This guide will walk you through the process of adding an SPF record, enabling Sendgrid to send emails from your domain. An SPF record involves adding a single DNS entry. For Sendgrid, the SPF record to add is:

include:_spf.supportbyrobin.com

How to Verify Your SPF Record

To ensure the SPF record is set up correctly, follow these steps:

  1. Go to MX Toolbox .

  2. In the text box, input "SPF:yourdomain.com" (replacing yourdomain.com with the relevant domain name).

a38fa92c-40a3-466b-9f51-36b99768acd8.png
  1. Press Enter .

  2. In the results, confirm that include:_spf.supportbyrobin.com is listed and that there are no errors.

7ce23bd0-3c97-4531-8e06-37995e4bf5c3.png



Common SPF Configuration Issues

One frequent issue is "Too many DNS lookups":

  • A DNS lookup occurs when an SPF record references another domain, such as _spf.supportbyrobin.com, which counts as one lookup. If that domain points to additional domains, those are added to the lookup total. For instance, Mimecast can add five lookups.

02f330c6-18b7-44fe-ad47-9eb3c9762fb6.png


Solution: SPF Flattening

The simplest solution to this issue is 'SPF flattening'. This involves obtaining the IP addresses from these lookups and directly entering them into your SPF record, avoiding dependencies on additional domain lookups.