Skip to content
deliverly.ai

Email authentication

SPF Record Checker

Look up a domain's SPF record, walk every include and count DNS lookups against the limit of 10.

Pass· github.com

SPF record is valid. It uses 10 of 10 DNS lookups and ends in ~all.

1 infoChecked 20:07 UTC

Record

TXT at github.com

v=spf1 ip4:192.30.252.0/22 include:spf.protection.outlook.com include:_netblocks.google.com include:_netblocks2.google.com include:mail.zendesk.com include:_spf.salesforce.com include:servers.mcsv.net include:mktomail.com include:sendgrid.net ip4:62.253.227.114 ip4:166.78.69.169 ip4:166.78.69.170 ip4:166.78.71.131 ~all

Issues (1)

  • Info

    Close to the lookup limit

    SPF017

    The record uses 10 of 10 DNS lookups. A vendor adding one include to their own record could push you over.

    Fix: Remove a sender you don't use, or plan to move one to a subdomain.

Lookup budget

DNS lookups

10 of 10

Each include, a, mx, exists and redirect costs a lookup, and so does everything inside an include. Receivers stop with a permanent error after 10.

What each term does

TermMeaningLookups
ip4:192.30.252.0/22Pass IPv4 192.30.252.0/22–
include:spf.protection.outlook.comPass servers authorised by spf.protection.outlook.com (Microsoft 365)1
include:_netblocks.google.comPass servers authorised by _netblocks.google.com (Google Workspace)1
include:_netblocks2.google.comPass servers authorised by _netblocks2.google.com1
include:mail.zendesk.comPass servers authorised by mail.zendesk.com (Zendesk)1
include:_spf.salesforce.comPass servers authorised by _spf.salesforce.com (Salesforce)2
include:servers.mcsv.netPass servers authorised by servers.mcsv.net (Mailchimp)1
include:mktomail.comPass servers authorised by mktomail.com (Marketo)1
include:sendgrid.netPass servers authorised by sendgrid.net (SendGrid)2
ip4:62.253.227.114Pass IPv4 62.253.227.114–
ip4:166.78.69.169Pass IPv4 166.78.69.169–
ip4:166.78.69.170Pass IPv4 166.78.69.170–
ip4:166.78.71.131Pass IPv4 166.78.71.131–
~allSoft fail everything else–

Include tree

Every record a receiver fetches while evaluating this one.

  • github.com10 lookups

    v=spf1 ip4:192.30.252.0/22 include:spf.protection.outlook.com include:_netblocks.google.com include:_netblocks2.google.com include:mail.zendesk.com include:_spf.salesforce.com include:servers.mcsv.net include:mktomail.com include:sendgrid.net ip4:62.253.227.114 ip4:166.78.69.169 ip4:166.78.69.170 ip4:166.78.71.131 ~all

    • spf.protection.outlook.comincludeMicrosoft 3650 lookups

      v=spf1 ip4:40.92.0.0/15 ip4:40.107.0.0/16 ip4:52.100.0.0/15 ip4:52.102.0.0/16 ip4:52.103.0.0/17 ip4:104.47.0.0/17 ip6:2a01:111:f400::/48 ip6:2a01:111:f403::/49 ip6:2a01:111:f403:8000::/51 ip6:2a01:111:f403:c000::/51 ip6:2a01:111:f403:f000::/52 -all

    • _netblocks.google.comincludeGoogle Workspace0 lookups

      v=spf1 ip4:74.125.0.0/16 ip4:209.85.128.0/17 ~all

    • _netblocks2.google.cominclude0 lookups

      v=spf1 ip6:2001:4860:4000::/36 ip6:2404:6800:4000::/36 ip6:2607:f8b0:4000::/36 ip6:2800:3f0:4000::/36 ip6:2a00:1450:4000::/36 ip6:2c0f:fb50:4000::/36 ~all

    • mail.zendesk.comincludeZendesk0 lookups

      v=spf1 ip4:103.151.192.0/23 ip4:185.12.80.0/22 ip4:188.172.128.0/20 ip4:192.161.144.0/20 ip4:216.198.0.0/18 ~all

    • _spf.salesforce.comincludeSalesforce1 lookup

      v=spf1 exists:%{i}._spf.mta.salesforce.com -all

    • servers.mcsv.netincludeMailchimp0 lookups

      v=spf1 ip4:205.201.128.0/20 ip4:198.2.128.0/18 ip4:148.105.0.0/16 -all

    • mktomail.comincludeMarketo0 lookups

      v=spf1 ip4:199.15.212.0/22 ip4:72.3.185.0/24 ip4:72.32.154.0/24 ip4:72.32.217.0/24 ip4:72.32.243.0/24 ip4:94.236.119.0/26 ip4:37.188.97.188/32 ip4:185.28.196.0/22 ip4:192.28.128.0/18 ip4:103.237.104.0/22 ip4:130.248.172.0/24 ip4:130.248.173.0/24 ~all

    • sendgrid.netincludeSendGrid1 lookup

      v=spf1 ip4:167.89.0.0/17 ip4:208.117.48.0/20 ip4:50.31.32.0/19 ip4:198.37.144.0/20 ip4:198.21.0.0/21 ip4:192.254.112.0/20 ip4:168.245.0.0/17 ip4:149.72.0.0/16 ip4:159.183.0.0/16 ip4:134.128.64.0/18 ip4:159.26.176.0/20 include:ab.sendgrid.net ~all

      • ab.sendgrid.netincludeSendGrid0 lookups

        v=spf1 ip4:223.165.113.0/24 ip4:223.165.115.0/24 ip4:223.165.118.0/23 ip4:223.165.120.0/23 ip4:137.22.245.0/24 ip4:137.22.246.0/24 ~all

DNS trace · 11 queries
NameTypeServerResultTimeAnswer
github.comTXT1.1.1.1NOERRORcacheTXT "00Dd0000000hHE0=1TBKg000000TN2r" · TXT "MS=6BF03E6AF5CB689E315FB6199603BABF2C88D805" · TXT "MS=ms44452932" · +9
spf.protection.outlook.comTXT1.1.1.1NOERROR158 msTXT "v=spf1 ip4:40.92.0.0/15 ip4:40.107.0.0/16 ip4:52.100.0.0/15 ip4:52.102.0.0/16 ip4:52.103.0.0/17 ip4:104.47.0.0/17 ip6:2a01:111:f400::/48 ip6:2a01:111:f403::/49 ip6:2a01:111:f403:8000::/51 ip6:2a01:111:f403:c000::/51 ip6:2a01:111:f403:f000::/52 -all"
_netblocks.google.comTXT1.1.1.1NOERROR150 msTXT "v=spf1 ip4:74.125.0.0/16 ip4:209.85.128.0/17 ~all"
_netblocks2.google.comTXT1.1.1.1NOERROR147 msTXT "v=spf1 ip6:2001:4860:4000::/36 ip6:2404:6800:4000::/36 ip6:2607:f8b0:4000::/36 ip6:2800:3f0:4000::/36 ip6:2a00:1450:4000::/36 ip6:2c0f:fb50:4000::/36 ~all"
mail.zendesk.comTXT1.1.1.1NOERROR147 msTXT "v=spf1 ip4:103.151.192.0/23 ip4:185.12.80.0/22 ip4:188.172.128.0/20 ip4:192.161.144.0/20 ip4:216.198.0.0/18 ~all"
_spf.salesforce.comTXT1.1.1.1NOERROR145 msTXT "v=spf1 exists:%{i}._spf.mta.salesforce.com -all"
servers.mcsv.netTXT1.1.1.1NOERROR143 msTXT "v=spf1 ip4:205.201.128.0/20 ip4:198.2.128.0/18 ip4:148.105.0.0/16 -all"
mktomail.comTXT1.1.1.1NOERROR135 msTXT "yahoo-verification-key=b3fByyORggzdu8uzicQakiKHtuQj7bXZxVFk5bCi1Jk=" · TXT "MS=ms63804055" · TXT "MS=ms86038015" · +2
sendgrid.netTXT1.1.1.1NOERROR133 msTXT "5m3r13nvilmq8tgf5foh6ki1uv" · TXT "6ifgg010qg6mquqt5lodun8qds" · TXT "cemmvnbghpsb500d7c19e35fgm" · +9
ab.sendgrid.netTXT1.1.1.1NOERROR6 msTXT "v=spf1 ip4:223.165.113.0/24 ip4:223.165.115.0/24 ip4:223.165.118.0/23 ip4:223.165.120.0/23 ip4:137.22.245.0/24 ip4:137.22.246.0/24 ~all"
github.comTXT1.1.1.1NOERRORcacheTXT "00Dd0000000hHE0=1TBKg000000TN2r" · TXT "MS=6BF03E6AF5CB689E315FB6199603BABF2C88D805" · TXT "MS=ms44452932" · +9

Next check

Run these for github.com with one click.

Want everything at once? Run the full report for github.com

What an SPF record does

SPF (Sender Policy Framework) is a TXT record at your domain that lists the servers allowed to send mail using your domain in the envelope sender. A receiving server looks the record up, compares the connecting IP address against it, and gets a result: pass, fail, soft fail or neutral.

A record looks like v=spf1 include:_spf.google.com ip4:203.0.113.10 ~all. Terms are read left to right and the first match wins. The final all term says what to do with everything else: -all rejects it, ~all marks it as suspicious, and +all allows anyone, which defeats the record.

The 10-lookup limit

RFC 7208 lets a receiver make at most 10 DNS lookups while evaluating one SPF record. Every include, a, mx, exists and redirect costs one, and so does each of those inside an included record. Go over 10 and the result is a permanent error, which most receivers treat as a fail. This is the most common way a working SPF record breaks: a vendor adds an include to their own record and yours goes from 10 to 11 without you changing anything.

This checker walks the full include tree and shows the cost of every branch, so you can see which service to drop or move to a subdomain.

Questions

Should I use ~all or -all?

With DMARC in place, ~all is the usual choice: DMARC decides what happens to failing mail, and ~all avoids rare cases where receivers reject on SPF alone before checking DKIM. Use -all for domains that never send mail.

Can I have two SPF records?

No. A domain must have exactly one TXT record starting with v=spf1. Two records cause a permanent error. Merge them into one record with a single all term.

What is a void lookup?

A lookup that returns no records, for example an include pointing at a name that no longer exists. More than two void lookups is a permanent error.

Does SPF alone stop spoofing?

No. SPF checks the hidden envelope sender, not the From address people see. You need DMARC to tie the result to the visible From domain.