1
0
mirror of https://github.com/jschauma/spf.git synced 2024-05-09 09:54:51 +00:00

Update README.md

Updated sample output for sample SPF analysis of github.com to reflect changes to updated code, plus various other changes.  (I don't know where else to add these, so I saved them here again for easier copying to the right template files later.)
This commit is contained in:
Randolf Richardson 張文道
2024-02-06 23:20:46 -08:00
committed by GitHub
parent 37e36496a7
commit 0800192fa2

View File

@ -29,6 +29,7 @@ github.com:
_netblocks2.google.com _netblocks2.google.com
_netblocks3.google.com _netblocks3.google.com
_spf.salesforce.com _spf.salesforce.com
mail.zendesk.com
[...] [...]
ip4 (12 CIDRs / 1051 IPs): ip4 (12 CIDRs / 1051 IPs):
@ -51,15 +52,15 @@ github.com:
SPF record for domain 'github.com': valid SPF record for domain 'github.com': valid
Total counts: Total counts:
Total # of DNS lookups : 9 Total # of DNS lookups : 8
pass: pass:
Total # of 'exists' directives : 1 Total # of 'exists' directives : 1
Total # of 'include' directives : 8 Total # of 'include' directives : 7
Total # of ip4 directives : 50 Total # of ip4 directives : 45
Total # of ip4 addresses : 870748 Total # of ip4 addresses : 870171
Total # of ip6 directives : 15 Total # of ip6 directives : 11
Total # of ip6 addresses : 2.97129033104116e+28 Total # of ip6 addresses : 29712752120897178112958136320
All others: softfail All others: softfail
``` ```
@ -72,12 +73,12 @@ the following modules installed:
* Net::DNS * Net::DNS
* Net::Netmask * Net::Netmask
* Math::BigInt
Optional modules: Optional modules:
* Data::Dumper * Data::Dumper
* JSON * JSON
* Math::BigInt
You may be able to install these dependencies via: You may be able to install these dependencies via:
@ -116,7 +117,7 @@ NAME
spf - report on the given domain's use of SPF spf - report on the given domain's use of SPF
SYNOPSIS SYNOPSIS
spf [-Vbhjv] [-f format] [-p policy] [-r address] domain spf [-Vhv] [-f format] [-p policy] [-r address] domain
DESCRIPTION DESCRIPTION
The spf tool allows you to inspect the Sender Policy Framework DNS records The spf tool allows you to inspect the Sender Policy Framework DNS records
@ -127,14 +128,10 @@ OPTIONS
-V Print version information and exit. -V Print version information and exit.
-b support large numbers.
-f format output format (json, perl, text). -f format output format (json, perl, text).
-h Display help and exit. -h Display help and exit.
-j Generate output in json format.
-p policy Expand and report on the given policy. Note: policy needs to -p policy Expand and report on the given policy. Note: policy needs to
be quoted; see EXAMPLES. be quoted; see EXAMPLES.
@ -177,7 +174,8 @@ SEE ALSO
HISTORY HISTORY
spf was originally written by Jan Schaumann <jschauma@netmeister.org> in spf was originally written by Jan Schaumann <jschauma@netmeister.org> in
July 2022. July 2022, with contributions by Royce Williams, Patrick Proniewski, and
Randolf Richardson <randolf@inter-corporate.com>.
BUGS BUGS
Please file bugs and feature requests by emailing the author. Please file bugs and feature requests by emailing the author.