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

CAA DNS RR #1732

Closed
wants to merge 2 commits into from
Closed

CAA DNS RR #1732

wants to merge 2 commits into from

Conversation

aeris
Copy link
Contributor

@aeris aeris commented Oct 29, 2017

Introduce CAA RR DNS record on Resolv, defined in RFC 6844.

Changes on the way Resource::decode_rdata works because CAA needs to know the
overall RR length, which was previously swallowed.

@aeris
Copy link
Contributor Author

aeris commented Oct 29, 2017

I open issue 14066 on Redmine for that PR

lib/resolv.rb Outdated
# Creates a new CAA for +flag+, +tag+ and +value+.

def initialize(flag, tag, value)
@flag, @tag, @value = flag, tag, value
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Elsewhere in this file assignment to instance variables is done using one line per assignment. Perhaps you want to align with the existing code-style?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed :)

@k0kubun k0kubun changed the base branch from trunk to master August 15, 2019 17:36
k0kubun added a commit to aeris/ruby that referenced this pull request Aug 17, 2019
@k0kubun k0kubun requested a review from akr December 31, 2019 08:43
aeris added 2 commits October 25, 2023 14:14
Introduce CAA RR DNS record on `Resolv`, defined in [RFC 6844](https://tools.ietf.org/html/rfc6844).

Changes on the way `Resource::decode_rdata` works because CAA needs to know the
overall RR length, which was previously swallowed.
@jarthod
Copy link

jarthod commented Feb 12, 2024

Thanks for this PR, I was also looking for this and so am currently using the patch.

Is there anything blocking this from being upstreamed into ruby? CAA is a fairly standard and widely adopted DNS record type now.

@hanazuki
Copy link
Contributor

I rebased this patch and filed a PR in the upstream repository. ruby/resolv#48

@jarthod
Copy link

jarthod commented Feb 29, 2024

Thanks @hanazuki !

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

Successfully merging this pull request may close these issues.

5 participants