---
title: "SPF"
url: "https://help.internetx.com/en/onlinehelp/spf/"
lang: "en"
section: "Email & glossary"
---

# SPF

## Creating an SPF record

→ Make a list of all your domains from which emails are sent.

→ Make a list of all your IPs from which emails are sent, including:

-   web servers
-   in-office mail server
-   ISPs mail server
-   any third-party mail servers

→ Create the SPF entry in a text editor and save it at the end. We recommend using an [SPF Record Generator](https://mxtoolbox.com/SPFRecordGenerator.aspx, "SPF RecordGenerator"),

Examples:  
_Example 1: v=spf1 ip4:1.2.3.4 ip4:2.3.4.5 ip4:x.x.x.x -all_  
_Example 2: v=spf1 ip4:1.2.3.4 ip4:2.3.4.5 include:thirdparty.com -all_

→ Now create the DNS entry. This entry must be created for each domain from which emails are sent.

_Example:_  
_Name of the sub = leave empty_  
_RR type = TXT_  
_Value = the SPF entry with the server IP (use an SPF generator if necessary)_

Use an SPF tool e.g [SPF Record Generator](https://mxtoolbox.com/SPFRecordGenerator.aspx, "SPF RecordGenerator"), in order to ensure that all entries have been set up correctly.
