zaccone / spf

Sender Policy Framework
MIT License
19 stars 6 forks source link

Implement limitations of DNS queries #2

Closed zaccone closed 7 years ago

zaccone commented 8 years ago

Section https://tools.ietf.org/html/rfc7208#section-4.6.4 describes DNS query limitations.

zaccone commented 8 years ago

RFC is not super clear on that matter. It says about maximum number of lookups but doesn't say anything on a very specific usecases:

a) what if we have more than >>limit<< queries that would eventually cause DNS limit but we get a match at first or second. b) What about recursive call (include,redirect). Shall we let query SPF records from include/domain with a reseted value or keep used lookups? If the sooner there is some need for DNS loops prevention.