Class Dnsruby::RRSet
In: lib/Dnsruby/resource/resource.rb
Parent: Object

RFC2181, section 5 "It is however possible for most record types to exist with the same label, class and type, but with different data. Such a group of records is hereby defined to be a Resource Record Set (RRSet)." This class also stores the RRSIG records which cover the RRSet

Methods

<=>   ==   []   add   delete   each   klass   length   name   new   rrs   sigs   sort_canonical   to_s   ttl   ttl=   type  

Included Modules

Comparable

Attributes

num_sigs  [R]  The number of RRSIGs stored in this RRSet

Public Class methods

Public Instance methods

Add the RR to this RRSet Takes a copy of the RR by default. To suppress this, pass false as the second parameter.

Delete the RR from this RRSet

Return the klass of this RRSet

The RRs (not RRSIGs) stored in this RRSet

The RRSIGs stored with this RRSet

Return the ttl of this RRSet

Return the type of this RRSet

[Validate]