domainaware / checkdmarc

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

query_spf_record doesn't raise MultipleSPFRTXTRecords exception #68

Closed thesyst closed 1 year ago

thesyst commented 3 years ago

If a domain has multiple spf-records, function _query_spfrecord correctly figuring this out, but fails to raise MultipleSPFRTXTRecords exception, raising SPFRecordNotFound instead.

Also, there is no mentioning in the documentation that any of spf-related functions could raise MultipleSPFRTXTRecords exception.

seanthegeek commented 1 year ago

Turns out this was fixed ages ago.