| Method Summary |
| |
__init__(self,
tok,
origin,
rdclass,
relativize,
zone_factory,
allow_include,
check_origin)
|
| |
_eat_line(self)
|
| |
_rr_line(self)
Process one line from a DNS master file. |
| |
read(self)
Read a DNS master file and build a zone object. |
| Inherited from object |
| |
__delattr__(...)
x.__delattr__('name') <==> del x.name |
| |
__getattribute__(...)
x.__getattribute__('name') <==> x.name |
| |
__hash__(x)
x.__hash__() <==> hash(x) |
| |
__new__(T,
S,
...)
T.__new__(S, ...) -> a new object with type S, a subtype of T |
| |
__reduce__(...)
helper for pickle |
| |
__reduce_ex__(...)
helper for pickle |
| |
__repr__(x)
x.__repr__() <==> repr(x) |
| |
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |
| |
__str__(x)
x.__str__() <==> str(x) |
| Instance Variable Summary |
| bool |
allow_include: is $INCLUDE allowed? |
| bool |
check_origin: should sanity checks of the origin node be done? The default is
True. |
| |
current_file: the file object of the $INCLUDed file being parsed (None if no
$INCLUDE is active). |
| 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? |
| list of (tokenizer, current_origin, last_name, file)
tuples. |
saved_state: saved reader state (used when processing $INCLUDE) |
| dns.tokenizer.Tokenizer object |
tok: The tokenizer |
| int |
ttl: The default TTL |
| dns.zone.Zone object |
zone: the zone |