SPF lookup

Find all SPF records for a domain name with this online DNS SPF checker. For example, try gmail.com or live.com to view their SPF records.

How to lookup SPF records

SPF records can be configured by the owner of a domain name. They are used to specify which mail servers are authorized to send email on behalf of the domain. SPF records are stored as TXT records and help prevent email spoofing.

Example output of a SPF lookup query

How to lookup SPF records on Windows

To check the SPF records for a certain domain name on Windows, follow these steps:

  1. Open a command prompt by navigating to Start → 'Type here to search' → 'cmd' → Open. Open a command prompt in Windows
  2. Type nslookup -q=txt example.com and hit [enter] to get the SPF records for example.com. SPF lookup in Windows
  3. The SPF records are listed below the Non-authoritative answer heading.

How to lookup SPF records on Mac OS

To check the SPF records for a certain domain name on a Mac, follow these steps:

  1. Open a terminal by entering [command] + [space] → 'terminal.app' → [enter]. Open a terminal on a Mac
  2. Type dig example.com txt and hit [enter] to get the SPF records for example.com. SPF lookup on a Mac
  3. The SPF records are listed below the ANSWER SECTION heading.

How to lookup SPF records on Linux

To check the SPF records for a certain domain name on Linux, follow these steps:

  1. Open a terminal by entering [Super] → 'terminal' → [enter]. Open a terminal in Linux
  2. Type dig example.com txt and hit [enter] to get the SPF records for example.com. SPF lookup in Linux
  3. The SPF records are listed below the ANSWER SECTION heading.

How to find SPF records

To check the SPF records of a domain, follow these steps:

  1. Open the SPF lookup tool. Open the SPF lookup tool
  2. Enter the domain name and hit [enter]. Example DNS SPF records
  3. The tool will query the SPF records and shown them at the top of the page.

How to lookup other record types

There are other types of DNS records than just SPF. The most commonly used DNS record types are A, AAAA, CNAME, NS, TXT, MX and SOA. If you'd like to look up all records of these record types, you can do so with nslookup. Click any of the record types below to find DNS records for that specific record type.