SPF record multitool

SPF check / validate / troubleshoot


Domain:

 

SPF generator


Domain:

 


IP's, CIDR ranges and prefixes to ALLOW:

Include SPF records of other domains:

Default action / qualifier:
What should happen to mails sent by IP's not specifically allowed and whitelisted.

SPF record check of gmail.com

Summary


Domain:
gmail.com

Main SPF record:
v=spf1 redirect=_spf.google.com



Processing
status

  OK  
Default
qualifier

SOFTFAIL
IP's / ranges
mentioned

  10  
DNS queries
used

  2  


All SPF records loaded


Domain
SPF record

gmail.com
v=spf1 redirect=_spf.google.com

_spf.google.com
v=spf1 ip4:74.125.0.0/16 ip4:192.178.47.0/24 ip4:192.179.92.0/22 ip4:209.85.128.0/17 ip6:2001:4860:4864::/56 ip6:2404:6800:4864::/56 ip6:2607:f8b0:4864::/56 ip6:2800:3f0:4864::/56 ip6:2a00:1450:4864::/56 ip6:2c0f:fb50:4864::/56 ~all

IP's / ranges mentioned


IP / range
Qualifier

74.125.0.0/16
PASS

192.178.47.0/24
PASS

192.179.92.0/22
PASS

209.85.128.0/17
PASS

2001:4860:4864::/56
PASS

2404:6800:4864::/56
PASS

2607:f8b0:4864::/56
PASS

2800:3f0:4864::/56
PASS

2a00:1450:4864::/56
PASS

2c0f:fb50:4864::/56
PASS

Default catch-all qualifier
SOFTFAIL

Log

000+000
  • Begin SPF discovery for domain 'gmail.com'
004+004
  • Get DNS TXT records for 'gmail.com'
154+150
  • 5 DNS TXT records found – parse for SPF records (DnsQueriesUsed=1, response from ns1.google.com)
157+003
  • SPF record found at gmail.com. Parse for mechanisms and modifiers.
    "v=spf1 redirect=_spf.google.com"
160+003
  • Modifier 'redirect' found, deferring to '_spf.google.com'
160+000
  • Get DNS TXT records for '_spf.google.com'
280+120
  • 1 DNS TXT records found – parse for SPF records (DnsQueriesUsed=2, response from ns1.google.com)
280+000
  • SPF record found at _spf.google.com. Parse for mechanisms and modifiers.
    "v=spf1 ip4:74.125.0.0/16 ip4:192.178.47.0/24 ip4:192.179.92.0/22 ip4:209.85.128.0/17 ip6:2001:4860:4864::/56 ip6:2404:6800:4864::/56 ip6:2607:f8b0:4864::/56 ip6:2800:3f0:4864::/56 ip6:2a00:1450:4864::/56 ip6:2c0f:fb50:4864::/56 ~all"
281+001
  • Mechanism 'ip4' found - add address/subnet '74.125.0.0/16', with qualifier PASS to list of mentioned IP's and subnets
281+000
  • Mechanism 'ip4' found - add address/subnet '192.178.47.0/24', with qualifier PASS to list of mentioned IP's and subnets
281+000
  • Mechanism 'ip4' found - add address/subnet '192.179.92.0/22', with qualifier PASS to list of mentioned IP's and subnets
281+000
  • Mechanism 'ip4' found - add address/subnet '209.85.128.0/17', with qualifier PASS to list of mentioned IP's and subnets
281+000
  • Mechanism 'ip6' found - add address/subnet '2001:4860:4864::/56', with qualifier PASS to list of mentioned IP's and subnets
281+000
  • Mechanism 'ip6' found - add address/subnet '2404:6800:4864::/56', with qualifier PASS to list of mentioned IP's and subnets
281+000
  • Mechanism 'ip6' found - add address/subnet '2607:f8b0:4864::/56', with qualifier PASS to list of mentioned IP's and subnets
281+000
  • Mechanism 'ip6' found - add address/subnet '2800:3f0:4864::/56', with qualifier PASS to list of mentioned IP's and subnets
281+000
  • Mechanism 'ip6' found - add address/subnet '2a00:1450:4864::/56', with qualifier PASS to list of mentioned IP's and subnets
281+000
  • Mechanism 'ip6' found - add address/subnet '2c0f:fb50:4864::/56', with qualifier PASS to list of mentioned IP's and subnets
281+000
  • Mechanism 'all' found, qualifier '~' - SOFTFAIL if sender IP doesn’t match SPF record
281+000
  • Parsing of SPF record for '_spf.google.com' completed
281+000
  • Done
281+000
  • Done
281+000
  • Parsing of SPF record for 'gmail.com' completed
281+000
  • Done
281+000
  • Done
281+000
  • SPF processing finished in 281 ms – 10 addresses/subnets found, 2 DNS lookups used.