-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dmarc/dkim entries for the professionalmail product #568
Conversation
Linter OK:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These templates generate invalid records (DKIM).
Please test the templates with Online Editor and submit corrections.
I also see the error in the editor but I don't agree with its output. the error is: Some testing seems to imply that it is rejecting the presence of an underscore within the label - if I change secureserver_s1 to secureservers1 then it accepts it. Also it accepts _secureservers1. It should be valid to have an underscore within the label. observe |
Well, as per rfc1035:
In theory rfc2181 stipulates about any character being allowed in DNS as protocol, however it's questionable whether underscore in the label can be safely assumed to be supported between DNS operators. Further RFCs, as per rfc8552 only seem to use underscore as a prefix label. Finally rfc6376 (DKIM) actually specifies
sub-domain is imported from rfc5321:
So I would conclude that using underscore in DKIM selector is not allowed and therefore the tool makes a good job complaining about it in this case. I would also claim that using underscore generally in labels other than prefix would not be supported by many DNS providers making such template less interoperable, therefore I would keep applying this rule also outside of DKIM context. |
Thanks for providing a good write up on the issue. After discussing with my peers we have decided it will be better for the selector to be a variable anyway. I was able to use your tool to test the template. |
Side note, there is a pull request to validator that aims to catch problematic underscores. |
Hi, OK @thoag-godaddy. |
version updated. thanks for all your help on this. |
No description provided.