Skip DNAME RRs in DNS answers#156
Open
ajobs wants to merge 1 commit into
Open
Conversation
|
We ran into the same problem. OpenDKIM cannot retrieve keys involving DNAME records. A setup that fails verification looks as follows: (dig output) OpenDKIM just fails to retrieve the key with "reply was unexpected type 39" when it encounters a DNAME. https://github.com/trusteddomainproject/OpenDKIM/blob/master/libopendkim/dkim-keys.c#L332 The whole logic around this function should be rewritten to ignore all unknown and irrelevant record types. |
futatuki
added a commit
to futatuki/OpenDKIM
that referenced
this pull request
Feb 25, 2024
Skip DNAME RRs in DNS answers
futatuki
added a commit
to futatuki/OpenDKIM
that referenced
this pull request
Apr 26, 2024
Skip DNAME RRs in DNS answers
futatuki
added a commit
to futatuki/OpenDKIM
that referenced
this pull request
Apr 26, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DKIM verification fails if the answer packet contains DNAME RRs.
Example:
This currently causes some trouble at the support team because they have to explain to our clients and the receiving side that there is no problem with the DMARC/DKIM/SPF setup but with the verification process.