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

Feature request: Check for string length in SPF records #70

Open thesyst opened 3 years ago

thesyst commented 3 years ago

According to RFC, the length of one string in TXT record must not exceed 255 bytes. I did not find any code in __querydns function that is checking for this limit. Could you add this check?