Package dns :: Module zone :: Class _MasterReader
[show private | hide private]
[frames | no frames]

Class _MasterReader

object --+
         |
        _MasterReader


Read a DNS master file
Method Summary
  __init__(self, tok, origin, rdclass, relativize, zone_factory)
a new object with type S, a subtype of T __new__(S, ...)
  read(self)
Read a DNS master file and build a zone object.
  _eat_line(self)
  _rr_line(self)
Process one line from a DNS master file.

Instance Variable Summary
dns.name.Name object current_origin - The current origin
dns.name.Name object last_name - The last name read
bool relativize - should names in the zone be relativized?
dns.tokenizer.Tokenizer object tok - The tokenizer
int ttl - The default TTL
dns.zone.Zone object zone - the zone

Method Details

__new__(S, ...)

Returns:
a new object with type S, a subtype of T

read(self)

Read a DNS master file and build a zone object.

_rr_line(self)

Process one line from a DNS master file.

Instance Variable Details

current_origin

The current origin
Type:
dns.name.Name object

last_name

The last name read
Type:
dns.name.Name object

relativize

should names in the zone be relativized?
Type:
bool

tok

The tokenizer
Type:
dns.tokenizer.Tokenizer object

ttl

The default TTL
Type:
int

zone

the zone
Type:
dns.zone.Zone object

Generated by Epydoc 1.1 on Sat Jul 19 02:54:32 2003 http://epydoc.sf.net