Skip to content
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

Updates to ldns_is_rrset() #251

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

tgreenx
Copy link
Contributor

@tgreenx tgreenx commented Sep 4, 2024

This PR proposes two updates to ldns_is_rrset():

  • to take into account TTL --> see RFC2181, Section 5.2 and RFC9499, Section 5
  • do case insensitive comparison of owner names, using function ldns_dname_compare() --> I couldn't find a proper reference from the same RFCs regarding RRsets specifically, but from a practical point on view it seems appropriate. Also see RFC4343.

PS: I couldn't find any unitary test for this method in the test directory, so this PR is untested at the moment. Please feel free to provide additional changes in that regard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant