Class Dnsruby::ZoneReader
In: lib/Dnsruby/zone_reader.rb
Parent: Object

Methods

Classes and Modules

Class Dnsruby::ZoneReader::ParseException

Public Class methods

Create a new ZoneReader. The zone origin is required. If the desired SOA minimum and TTL are passed in, then they are used as default values.

Public Instance methods

Get the TTL in seconds from the m, h, d, w format

Take a line from the input zone file, and return the normalised form do_prefix_hack should always be false

Takes a filename string and attempts to load a zone. Returns a list of RRs if successful, nil otherwise.

Process the next line of the file Returns a string representing the normalised line.

[Validate]