domainaware / checkdmarc

A parser for SPF and DMARC DNS records
https://domainaware.github.io/checkdmarc
Apache License 2.0
245 stars 76 forks source link

get_spf_record fails when SPF record uses macros #81

Closed richardmhope closed 1 year ago

richardmhope commented 1 year ago

A SPFRecordNotFound is raised when the SPF record uses macros e.g.

checkdmarc.SPFRecordNotFound: The domain %{ir}.%{v}.%{d}.spf.has.pphosted.com does not exist

trolldbois commented 1 year ago

same with agari.com "record": "v=spf1 exists:%{i}._i.%{d}._d.espf.agari.com include:%{d}.01.spf-protect.agari.com include:mktomail.com -all",

seanthegeek commented 1 year ago

Fixed in 4.8.0.