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

DMARC or SPF query fails with DMARCRecordNotFound or SPFRecordNotFound in case of timeout #90

Open kazet opened 1 year ago

kazet commented 1 year ago

Hello,

thanks for an awesome tool!

I found that when the timeout expires, DMARCRecordNotFound or SPFRecordNotFound gets raised, which makes it hard to distinguish these cases from lack of a DMARC/SPF record.

would it be possible to raise a different exception class for timeouts or other such problems?