caa_rr_patch
is the patch that adds CAA Resource Record.
The gem is available at rubygems.org. You can install it the following.
$ gem install caa_rr_patch
You can resolve CAA resources.
$ irb
irb(main):001:0> require 'caa_rr_patch'
=> true
irb(main):002:1* Resolv::DNS.new.getresources(
irb(main):003:1* "google.com",
irb(main):004:1* Resolv::DNS::Resource::IN::CAA
irb(main):005:0> )
=> [#<Resolv::DNS::Resource::IN::CAA:0x0123456789abcdef @flags="\x00", @tag="issue", @value="pki.goog", @ttl=77777>]
The gem is available as open source under the terms of the MIT License.