---
title: "SPF Record Example | AutoSPF"
description: "SPF records enlist all the IP addresses allowed to be official senders of your business domain and give instructions to recipients’ networks about how to d"
image: "https://autospf.com/images/og-default.png"
canonical: "https://autospf.com/spf-record-checker/spf-record-example/"
---

#  SPF Record Example 

## Try Our Free SPF Checker

Instantly analyze any domain's SPF record - check syntax, count DNS lookups, and flag errors.

[ Check SPF Record →](/tools/spf-checker/) 

![Spf Syntax 300x300](https://media.mailhop.org/autospf/images/2023/10/spf-syntax-300x300.jpg) 

SPF records enlist all the IP addresses allowed to be official senders of your business domain and give instructions to recipients’ networks about how to deal with emails failing SPF checks. It’s a **DNS TXT record** that is added to the DNS for public retrieval. An [SPF record example](/spf-record-checker/) will help you understand its syntax, which will further help you create one for all your email-sending domains. 

The major components of an SPF DNS record are; **Mechanisms, Modifiers, and Qualifiers**. Also, remember that there’s a limit of 255 characters in a standard sender policy framework record.

## **SPF Record Example**

SPF is crucial in **email authentication**, phishing and spoofing prevention, [email deliverability rate](https://clickback.com/blog/email-deliverability-rate/), and other factors. Let’s consider an SPF record example and understand more about it.

![Spf Record 2](https://media.mailhop.org/autospf/images/2023/11/spf-record-2.jpg) 

```
TXT @ “v=spf1 a include: spf.google.com ~all”
```

Here’s what each of the elements means-

### **TXT**

It indicates that the SPF record is stored in the DNS in text format. _TXT is the only accepted format for SPF records_; SPF-type DNS is considered obsolete now.

### **@It’s a placeholder that represents the current domain.**

### **v=spf1**

It tells the version of the SPF used. As of now, there’s only one **SPF version** (v), and that’s why all SPF records begin with _v=spf1_ only.

### a

This represents that system in ‘domain A’ is allowed to send emails on behalf of the company’s domain.

### **include**

You use this tag to add **IP addresses** of third-party vendors you allow to send emails on behalf of your company. This could be an outsourced marketing or [PR agency](https://www.forbes.com/sites/robertwynne/2013/04/10/what-does-a-public-relations-agency-do/?sh=5bedadeb75d9).

### **\~all**

It instructs the recipient’s mailbox to flag suspicious emails and [mark them as spam](https://www.zoho.com/mail/help/spam-reason.html).

![Sender Policy Framework](https://media.mailhop.org/autospf/images/2023/11/sender-policy-framework.jpg) 

[Image sourced](https://cyberhoot.com/cybrary/sender-policy-framework-spf/) from [www.cyberhoot.com](http://www.cyberhoot.com)

## **Elements of an SPF Record**

There are many components that can go into an SPF record. Here we have listed out the most commonly used ones:

### **SPF Mechanisms**

#### all

It’s used at the end of all SPF DNS records and matches **local and remote IPs**.

#### **ipv4**

ip4 tells that the SPF record belongs to an [IPv4 address](https://www.geeksforgeeks.org/what-is-ipv4/) or a range of IPv4 addresses. You have to add a prefix, and **/32** is the default prefix value.

#### **ipv6**

ip6 tells that the SPF record belongs to an IPv6 address or a range of IPv6 addresses. You have to add a prefix, and **/128** is the default prefix value.

#### a

Denotes all IPs in the [‘DNS A’ record](https://www.cloudflare.com/learning/dns/dns-records/dns-a-record/).

#### **MX**

It indicates all ‘A records’ for individual **“MX” records** on the host’s side.

#### **ptr**

The ptr mechanism shows all ‘A records’ for individual “ptr” records. Its use is discouraged as it’s a slow and unreliable mechanism.

#### **exists**

It tells about the systems allowed to send emails on behalf of the company using their domain.

#### **include**

+include tag helps add third-party sender’s IP addresses to send emails on your behalf.

![Sender Policy Framework 2](https://media.mailhop.org/autospf/images/2023/11/sender-policy-framework-2.jpg) 

### **SPF Qualifiers**

The above elements are paired with at least one of the following qualifiers’ links.

**Qualifier**

**Result**

**Action Taken by Receiving Mail Servers with a Match**

Pass

This SPF Qualifier indicates that the email has passed the verification check (which means the sender is genuine) and it will land in the recipient’s **primary inbox**. This is the default action taken when a record lacks a Qualifier.

–

Fail

It tells that the email failed the SPF verification process and won’t land in the recipient’s primary inbox. In this case, a [softfail or hardfail](https://support.cpanel.net/hc/en-us/articles/360051455074-What-is-the-difference-between-an-SPF-hard-fail-and-soft-fail-) takes place. In the case of a Softfail, the failed email lands in the recipient’s spam folder.

\~

Softfail

The recipient’s mail server accepts the email message, and it lands in the **spam folder**.

?

Neutral

In this case, the email neither passes nor fails authentication checks since the SPF record doesn’t explicitly state whether the sender is authorized to send messages. ?all represents that there wasn’t a match when checked against your permitted IP address and domain.

## **Final Words**

_An error-free and correctly created SPF record, when combined with DMARC and DKIM, helps filter genuine and fraudulent emails sent from your domain_. It also apprises you of illegitimate activities performed using your **email-sending domain**. 

For more information on [SPF record syntax](/spf-record-checker/spf-record-syntax/), SPF flattening services, and steps to [create SPF record](/spf-record-checker/create-spf-record/), check our [article list](/blog/). 

## How Do You Fix Your SPF Record, Free?

Give us a test drive for **30 days at no cost**. Fix your broken SPF in less than 60 seconds!

> [Fix My SPF Record!](/pricing/)

## Fix your SPF record in 60 seconds

page.data.title toolBanner && toolBanner.label toolBanner.description toolBanner.cta → showCTA && g2Config &&

[Start Free Trial→](/pricing/)

```json
{"@context":"https://schema.org","@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com","logo":{"@type":"ImageObject","url":"https://autospf.com/images/autospf-logo.png"},"description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","parentOrganization":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138883901","name":"DuoCircle LLC","url":"https://www.duocircle.com","sameAs":["https://www.wikidata.org/wiki/Q138883901","https://www.crunchbase.com/organization/duocircle-llc","https://www.linkedin.com/company/duocircle","https://github.com/duocircle"],"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.wikidata.org/wiki/Q138897474","https://www.linkedin.com/company/autospf","https://x.com/autospf01","https://www.facebook.com/autospf","https://github.com/duocircle","https://www.g2.com/products/autospf/reviews"],"aggregateRating":{"@type":"AggregateRating","ratingValue":"4.6","reviewCount":"28","bestRating":"5","worstRating":"1","url":"https://www.g2.com/products/autospf/reviews"},"contactPoint":{"@type":"ContactPoint","contactType":"customer support","url":"https://autospf.com/contact-us/"},"knowsAbout":["SPF Record Flattening","Sender Policy Framework","Email Authentication","DNS Management","DMARC","DKIM","Email Deliverability","SPF Lookup Limits"]}
```

```json
{"@context":"https://schema.org","@type":"WebSite","name":"AutoSPF","url":"https://autospf.com","description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","publisher":{"@type":"Organization","name":"AutoSPF","url":"https://autospf.com","logo":{"@type":"ImageObject","url":"https://autospf.com/images/autospf-logo.png"},"description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","parentOrganization":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138883901","name":"DuoCircle LLC","url":"https://www.duocircle.com","sameAs":["https://www.wikidata.org/wiki/Q138883901","https://www.crunchbase.com/organization/duocircle-llc","https://www.linkedin.com/company/duocircle","https://github.com/duocircle"],"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":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://autospf.com/"},{"@type":"ListItem","position":2,"name":"Spf Record Checker","item":"https://autospf.com/spf-record-checker/"},{"@type":"ListItem","position":3,"name":"Spf Record Example","item":"https://autospf.com/spf-record-checker/spf-record-example/"}]}
```
