akpoff / spf_fetch

Collection of utilities to recursively look-up SPF records and manage whitelists
ISC License
31 stars 3 forks source link

spf_fetch returns IPs even if an SPF-record ist not set #7

Open TomFernandes opened 4 years ago

TomFernandes commented 4 years ago

The expected behaviour was that zero IPs are returned.

Warm regards, Tom

tom@joko:~$ host -t TXT bild.de
bild.de descriptive text "MS=ms99535522"
bild.de descriptive text "QFpSE9bKoWuwVmDnsk9WcN2uDM+gd4XFp4U+KOUCJ/dZ6a2PymbU3qNhP8lsAMC0k2ClaLcBIjPCEDASk8XO6A=="
bild.de descriptive text "google-site-verification=0uD0nmX-Cw8fSCHOlf_TfTZRyXjOPNih1lRM3L1jC0Q"
bild.de descriptive text "google-site-verification=GIwP8nvMGCphDvQq77TEZC32YbjuCGwW4sSunpEYSlk"

tom@joko:~$ bash /tmp/spf_fetch bild.de
145.243.234.53
145.243.234.52
145.243.234.50
145.243.234.51
sebrem commented 3 years ago

I think that's desired behaviour, I just saw
-m Do not print MX records if server has no SPF records. in the man page.

Kind regards

Sebastian