Skip to content

instead of manually find all ips for domains MX records use spf_dump to find and dump them out

Notifications You must be signed in to change notification settings

wiiikiii/spf_dump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

spf_dump.rb

instead of manually find all ips for domains MX records use spf_dump to find and dump them out

because I don't enjoy python I rewrote the https://github.com/nullstream/spf_dump to ruby

 # chmod +x spf_dump
 # ./spf_dump [domainname]

... lists all ip's from the given spf record for this domain. you can now pipe them into pfctl with

 # ./spf_dump | pfctl -t whitelist -T add

please let me know if there are errors.

About

instead of manually find all ips for domains MX records use spf_dump to find and dump them out

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages