Skip to content

A Ruby implementation of DNS Certificate Authority Authorization (CAA) checks as per RFC 6844 Section 4 (Errata 5065, 5097)

License

Notifications You must be signed in to change notification settings

Santhanraj/ruby-CAA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ruby-CAA

A Ruby implementation of DNS - Certificate Authority Authorization (CAA) checks as per RFC 6844 Section 4 (Errata 5065, 5097)

Uses the local nameserver configuration for RR requests.

Methods

There are two way to check CAA for a domain

caa = CAAuth.new
caa.domain="x.y.z"
caa.CAA #=>returns a hash with :domain, :loc, :flag, :tag, :value.

or

caa.check('x.y.z') #=>returns a hash with :domain, :loc, :flag, :tag, :value

Return

returns a hash containing
:domain -> the primary domain
:loc -> the location where the CAA RR was found. I.e., primary, CNAME, hierarchy (parent or grandparent domain), hierarchy-CNAME
:flag, :tag, :value -> as per RFC 6844

About

A Ruby implementation of DNS Certificate Authority Authorization (CAA) checks as per RFC 6844 Section 4 (Errata 5065, 5097)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages