danielsen / NetSPF

.NET SPF tools
MIT License
2 stars 3 forks source link

Possibility of endless loop #1

Closed kristho91 closed 1 year ago

kristho91 commented 3 years ago

It is possible to create and endless loop, if a SPF record is wrongly configured.

SPF for a.domain.com: v=spf1 include:b.domain.com -all

SPF for b.domain.com: v=spf1 include:a.domain.com -all

Maybe this library could keep track of visited domains, and throw exception/PermError when this happens?

danielsen commented 2 years ago

Thanks for the report. I'll check it out.