When requesting the SPF records for a given domain that doesn't have any TXT
records, I get back a PermError
. Looking at the documentation for CheckIP
(https://godoc.org/github.com/gopistolet/gospf#SPF.CheckIP) where the error codes are stated (albeit this documentation is for CheckIP
and not New
), I was wondering if when querying a domain that didn't have any TXT
records it would be more appropriate, with respect to the RFC, to return None
instead of PermError
?
Thoughts?