---
title: "Learn How To Build An SPF Record In Easy Steps Using An SPF Record Example | DuoCircle"
description: "Join the thousands of organizations that use DuoCircle Find out how affordable it is for your organization today and be pleasantly surprised.Interested in"
image: "https://www.duocircle.com/images/og-default.png"
canonical: "https://www.duocircle.com/content/spf-validator/spf-record-example/"
---

Content 

#  Learn How To Build An SPF Record In Easy Steps Using An SPF Record Example 

 Join the thousands of organizations that use DuoCircle Find out how affordable it is for your organization today and be pleasantly surprised.Interested in 

[ Talk to an Expert → ](/contact/) [ See what we make ](/products/) 

## Learn How To Build An SPF Record In Easy Steps Using An SPF Record Example

[Fix Your SPF Errors Now](/email/spf-record-check)

_SPF is an email authentication protocol that allows the users to specify the authorized IP addresses for sending an email_ on behalf of the organization’s domain. The entire authentication procedure is carried out using an **SPF record**, which helps an organization verify the mail server to check whether the sender is legit to send the email for a particular domain.

_Any SPF record is a DNS TXT record file that contains a list of approved IP addresses that are permitted to send mail on behalf of the organization’s domain_. By following an **SPF record example**, anyone can quickly _learn how to build an SPF record in a few simple steps_. The following is a description of such actions that help in making an SPF record. Alternatively, one can use an [SPF generator](/content/spf-validator/spf-generator) to create an SPF record instead of creating it manually.

![spf validator](https://media.mailhop.org/duocircle/images/2021/06/spf-record-example-1.png) 

### Steps To Build An SPF Record

#### Collect And List All The IP Addresses That Are Used For Sending Email

_It is essential to know which mail servers are being used for sending emails from the organization’s domain_. Several mail servers may be in use for sending emails. Make a list of the mail servers used, including mail servers like web servers, Microsoft Exchange mail, and ISP mail server.

#### Include All The Domains

The next task is to specify all the domains used to send emails. Also include the domains that are not used for sending emails.

#### Build The SPF Record

The SPF record inspects the sender’s identity by comparing it with all the IP addresses present in the list of legit IP Addresses associated with the sender’s mail server published in the DNS records. A typical SPF record example looks like this:

`v=spf1 ip6:1.4.3.6 ip6:222.355.4.5. ~all`

The procedure to create an SPF record similar to this example involves the following steps:

- The [SPF syntax](/content/spf-validator/spf-syntax) must start by mentioning the SPF version. The [SPF version](https://www.digitalocean.com/community/tutorials/how-to-use-an-spf-record-to-prevent-spoofing-improve-e-mail-reliability) number is usually cited as v=spf1\. There is also an SPF version two called Sender ID.
- Following the version, mention all the IP addresses that are authorized to send emails for the domain. It typically looks like: ip6:1.4.3.6 ip6:222.355.4.5.
- A tag follows the IP addresses. The most commonly used is the [SPF \~all](/content/spf-validator/spf-all) tag. A tag’s function is to suggest what action to take regarding an email or server that is detected as unauthorized. With this step, the SPF record is successfully created.

#### Publish The SPF Record As DNS TXT

Once the SPF record is created and ready, it’s time to publish it to the DNS in TXT format. The [DNS Manager](https://www.hostens.com/knowledgebase/adding-spf-record-for-your-domain-in-our-dns-manager/) can easily insert and publish the **SPF records** into the DNS.

#### Test The SPF Record

_It is essential to validate SPF records to check whether they are set correctly_. You can use an [SPF validator](/content/spf-validator) to check if the SPF record is proper or not.

From the above discussion, one gets to know how to create an SPF record easily in a few steps by following an **SPF record example**. An SPF record helps organizations eliminate spoofing, spam, and **phishing attacks** by malicious actors using their domain.

##### Join the thousands of organizations that use DuoCircle

---

Find out how affordable it is for your organization today and be pleasantly surprised.

[Auto SPF - Sign Up FREE](/email/spf-record-check)Interested in our Partner Program for MSPs and VARs? Visit Our [MSP Partner Program](/msp-partner-program).

## Ready to talk?

Same-day response from someone technical. We tell you yes or no quickly. If yes, we get to work.

[Talk to an Expert→](/contact/)[See what we make](/products/)

```json
{"@context":"https://schema.org","@type":"Organization","name":"DuoCircle LLC","url":"https://www.duocircle.com","logo":{"@type":"ImageObject","url":"https://www.duocircle.com/images/duocircle-logo.png"},"description":"DuoCircle is a portfolio of specialized email products covering protection, authentication, delivery, and routing. We deliver about 90% of category-leader capability at roughly half the price, backed by experts who own the outcome. Trusted by 50,000+ organizations since 2014.","subOrganization":[{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897912","name":"Phish Protection","url":"https://www.phishprotection.com"}],"sameAs":["https://www.linkedin.com/company/duocircle","https://x.com/duocirclellc","https://www.facebook.com/duocirclellc","https://www.g2.com/products/phish-protection-by-duocircle/reviews","https://github.com/duocircle","https://www.crunchbase.com/organization/duocircle-llc"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","url":"https://support.duocircle.com"},"knowsAbout":["Email Security","Email Authentication","SPF","DKIM","DMARC","Phishing Protection","Spam Filtering","SMTP Relay","Email Deliverability","Email Forwarding"]}
```

```json
{"@context":"https://schema.org","@type":"WebSite","name":"DuoCircle LLC","url":"https://www.duocircle.com","description":"DuoCircle is a portfolio of specialized email products covering protection, authentication, delivery, and routing. We deliver about 90% of category-leader capability at roughly half the price, backed by experts who own the outcome. Trusted by 50,000+ organizations since 2014.","publisher":{"@type":"Organization","name":"DuoCircle LLC","url":"https://www.duocircle.com","logo":{"@type":"ImageObject","url":"https://www.duocircle.com/images/duocircle-logo.png"},"description":"DuoCircle is a portfolio of specialized email products covering protection, authentication, delivery, and routing. We deliver about 90% of category-leader capability at roughly half the price, backed by experts who own the outcome. Trusted by 50,000+ organizations since 2014.","subOrganization":[{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897912","name":"Phish Protection","url":"https://www.phishprotection.com"}]}}
```

```json
[{"@context":"https://schema.org","@type":"WebPage","name":"Learn How To Build An SPF Record In Easy Steps Using An SPF Record Example","description":"Join the thousands of organizations that use DuoCircle Find out how affordable it is for your organization today and be pleasantly surprised.Interested in ","url":"https://www.duocircle.com/content/spf-validator/spf-record-example/","speakable":{"@type":"SpeakableSpecification","cssSelector":[".page-answer",".duo-rich-text p:first-of-type"]},"dateModified":"2023-08-08T11:11:03.000Z","datePublished":"2021-06-22T13:55:35.000Z"},{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"DuoCircle","item":"https://www.duocircle.com/"},{"@type":"ListItem","position":2,"name":"Learn How To Build An SPF Record In Easy Steps Using An SPF Record Example","item":"https://www.duocircle.com/content/spf-validator/spf-record-example/"}]}]
```
