caa_rr_patch

Gem Version Actions Status Maintainability

caa_rr_patch is the patch that adds CAA Resource Record.

Installation

The gem is available at rubygems.org. You can install it the following.

$ gem install caa_rr_patch

Usage

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> ) { |rr| pp rr }
=> [#<Resolv::DNS::Resource::IN::CAA:0x0123456789abcdef @flags="\x00", @tag="issue", @value="pki.goog", @ttl=77777>]

License

The gem is available as open source under the terms of the MIT License.