What it's used for
Script spf_to_ip.sh
is used to query SPF DNS record of given mail domain
names and print converted IP addresses.
USAGE
Run command with the mail domain names which you want to avoid gryelisting:
$ bash spf_to_ip.sh <domain> [domain ...]
For example:
$ bash spf_to_ip.sh google.com aol.com
it will print all IP addresses converted from spf record.
Required commands:
- dig
- awk
- sed
- grep
- head
- tr
KNOWN ISSUES
-
not supported spf syntax:
- ptr ptr:
- a/24 a:/24
- mx/24 mx:/24
- exists:
REFERENCES
TODO
- support spf syntax: ptr ptr: