Skip to content

Commit

Permalink
Add comment to dnsruby describing CodeMapper subclasses found in code…
Browse files Browse the repository at this point in the history
…_mappers.rb.
  • Loading branch information
Keith Bennett committed Nov 4, 2014
1 parent 5ef93b9 commit 6cae4eb
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion lib/dnsruby.rb
Expand Up @@ -14,7 +14,7 @@
#limitations under the License.
#++
require 'dnsruby/code_mappers'
require 'dnsruby/message'
require 'dnsruby/message/message'
require 'dnsruby/ipv4'
require 'dnsruby/ipv6'
require 'timeout'
Expand Down Expand Up @@ -108,6 +108,20 @@
#DNSSEC support is on by default - but no trust anchors are configured by default.
#See Dnsruby::Dnssec for more details.
#
#== Codes
# Dnsruby makes extensive use of several different types of codes. These are implemented
# in the form of subclasses of CodeMapper and are located in lib/code_mappers.rb. They are:
#
# * OpCode - e.g. Query, Status, Notify
# * RCode - e.g. NOERROR, NXDOMAIN
# * ExtendedRCode - currently only BADVERS
# * Classes - IN, CH, HS, NONE, ANY
# * Types - RR types, e.g. A, NS, SOA
# * QTypes - IXFR, AXFR, MAILB, MAILA, ANY
# * MetaTypes - TKEY, TSIG, OPT
# * Algorithms - e.g. RSAMD5, DH, DSA
# * Nsec3HashAlgorithms - currently only SHA-1

#== Bugs
#* NIS is not supported.
#* /etc/nsswitch.conf is not supported.
Expand Down

0 comments on commit 6cae4eb

Please sign in to comment.