domainaware / checkdmarc

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

Problem with unrelated DMARC records #91

Closed kazet closed 11 months ago

kazet commented 1 year ago

If DMARC for a domain contains an unrelated record, UnrelatedTXTRecordFoundAtDMARC gets raised and that prevents checkdmarc from finding a correct DMARC record.

Correct behavior would be reporting the unrelated TXT record as a warning and then proceeding to obtain the DMARC record.

seanthegeek commented 11 months ago

Made this check optional in the API with version 4.8.0.