You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently found some domain names in the wild that are fairly long. They are >63 characters and causing the SPF verification function to return a None even though a valid SPF record exists at the domain name.
I found this in spf/verify.rs:91-93
if domain.is_empty() || domain.len() > 63 || !domain.has_labels(){return output.with_result(SpfResult::None);}
Based on RFC 5321 it looks like the 63 character limitation should be on the individual labels and not the total length of the domain. The total domain name length limit is 255 characters.
The text was updated successfully, but these errors were encountered:
Hi,
I recently found some domain names in the wild that are fairly long. They are >63 characters and causing the SPF verification function to return a None even though a valid SPF record exists at the domain name.
I found this in
spf/verify.rs:91-93
Based on RFC 5321 it looks like the 63 character limitation should be on the individual labels and not the total length of the domain. The total domain name length limit is 255 characters.
The text was updated successfully, but these errors were encountered: