Skip to main content
All CollectionsThe Email Deliverability GuideSPF
How to set up SPF for my domain?
How to set up SPF for my domain?
Arthur avatar
Written by Arthur
Updated over 3 years ago

You need to publish a TXT record on your DNS to enable SPF authentication.

1. Go to your domain provider (GoDaddy, Cloudflare, Namecheap, Gandi, etc.) and sign in;.

2. Go to the page for updating your domain’s DNS records. It could be called "DNS Management", "Name Server Management", or "Advanced Settings".

3. Find your TXT records and check if your domain has an existing SPF record (starting with “v=spf1…”).

4. If your domain already has an SPF record, delete it.

5. Create a new TXT record with these values:

1. Name/Host/Alias: Enter @ or leave blank

2. Time to Live (TTL): Enter 3600 or leave the default

3. Value/Answer/Destination:

v=spf1 include:{{thirdparty.com}} ~all

{{thirdparty}} being the code snippet corresponding to the third party tools that you are using to send emails.

It can be Email Service Providers like Google Workspace, Outlook, but also Email marketing tools like Mailgun, Sendgrid, Sendinblue or Mailchimp.

Please refer to our code list to find the code snippet corresponding to the tools your using.

Example:

I own the domain "warmbox.ai" and I'm using Google Workspace to send emails, as well as Sendgrid for marketing purposes.

I will publish this SPF record in my DNS:

v=spf1 include:_spf.google.com include:sendgrid.net ~all

6. When the SPF record is published, wait for propagation (it can take up to 48 hours).

Did this answer your question?