Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad If BoolOpOr CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse If UnaryOpNot Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str If Call AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body If UnaryOpNot NameLoad body Raise NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body For NameStore NameLoad body If BoolOpOr CompareEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body Expr Yield TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body For NameStore NameLoad body If BoolOpOr CompareEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body For NameStore NameLoad body Expr Yield TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If CompareGtE AttributeLoad NameLoad attr Num body Assign NameStore NameLoad orelse Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Str orelse Assign NameStore Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore NameLoad orelse Assign NameStore NameLoad TryFinally body If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad If CompareIs NameLoad NameLoad body Print NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad finalbody If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr If CompareIs Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise NameLoad If CompareIs Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad keyword NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body While Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad NameLoad attr body Break decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad NameLoad attr body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Return If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot Call AttributeLoad NameLoad attr body Raise AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot Call AttributeLoad NameLoad attr body Raise AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot Call AttributeLoad NameLoad attr body Raise AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Raise AttributeLoad AttributeLoad NameLoad attr attr ExceptHandler body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareNotEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad AttributeLoad NameLoad attr attr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler body Raise Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Assign TupleStore NameStore NameStore SubscriptLoad Call AttributeLoad NameLoad attr Slice Num Raise NameLoad ExceptHandler body Assign TupleStore NameStore NameStore SubscriptLoad Call AttributeLoad NameLoad attr Slice Num Raise Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body While Num body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad attr If Call AttributeLoad NameLoad attr body If UnaryOpNot CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Continue Break orelse If Call AttributeLoad NameLoad attr body Continue orelse If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Continue orelse If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse If BoolOpAnd CompareEq NameLoad Str AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Raise Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd Str NameLoad Str Continue Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIs NameLoad NameLoad body Assign NameStore Str Raise Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str If CompareGtE AttributeLoad NameLoad attr Num body Assign NameStore NameLoad Assign NameStore Str orelse Assign NameStore NameLoad Assign NameStore Str If Call NameLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore Str Assign NameStore NameLoad TryFinally body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad finalbody If NameLoad body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore NameLoad For NameStore NameLoad body If CompareIs NameLoad NameLoad body If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list
N/A N/A DNS Zones. __future__ generators N/A sys N/A dns.exception N/A dns.name N/A dns.node N/A dns.rdataclass N/A dns.rdatatype N/A dns.rdata N/A dns.rrset N/A dns.tokenizer N/A dns.ttl BadZone N/A N/A N/A dns exception DNSException N/A N/A The zone is malformed. N/A N/A NoSOA N/A BadZone N/A N/A The zone has no SOA RR at its origin. N/A N/A NoNS N/A BadZone N/A N/A The zone has no NS RRset at its origin. N/A N/A UnknownOrigin N/A BadZone N/A N/A The zone's origin is unknown. N/A N/A Zone N/A object N/A N/A A DNS zone.

    A Zone is a mapping from names to nodes.  The zone object may be
    treated like a Python dictionary, e.g. zone[name] will retrieve
    the node associated with that name.  The I{name} may be a
    dns.name.Name object, or it may be a string.  In the either case,
    if the name is relative it is treated as relative to the origin of
    the zone.

    @ivar rdclass: The zone's rdata class; the default is class IN.
    @type rdclass: int
    @ivar origin: The origin of the zone.
    @type origin: dns.name.Name object
    @ivar nodes: A dictionary mapping the names of nodes in the zone to the
    nodes themselves.
    @type nodes: dict
    @ivar relativize: should names in the zone be relativized?
    @type relativize: bool
    @cvar node_factory: the factory used to create a new node
    @type node_factory: class or callable
     N/A node_factory N/A N/A dns node Node N/A __slots__ N/A rdclass origin nodes relativize __init__ N/A N/A self origin rdclass relativize N/A N/A N/A dns rdataclass IN True N/A N/A Initialize a zone object.

        @param origin: The origin of the zone.
        @type origin: dns.name.Name object
        @param rdclass: The zone's rdata class; the default is class IN.
        @type rdclass: int N/A N/A self rdclass rdclass N/A N/A self origin origin N/A N/A self nodes N/A N/A N/A self relativize relativize N/A __eq__ N/A N/A self other N/A N/A N/A Two zones are equal if they have the same origin, class, and
        nodes.
        @rtype: bool
         N/A N/A N/A isinstance other Zone N/A N/A False N/A N/A N/A N/A self rdclass N/A other rdclass N/A N/A self origin N/A other origin N/A N/A self nodes N/A other nodes N/A N/A False N/A True N/A __ne__ N/A N/A self other N/A N/A N/A Are two zones not equal?
        @rtype: bool
         N/A N/A N/A N/A self __eq__ other N/A _validate_name N/A N/A self name N/A N/A N/A N/A isinstance name N/A str unicode N/A N/A name N/A N/A N/A dns name from_text name None N/A N/A N/A N/A isinstance name N/A N/A dns name Name N/A N/A N/A KeyError name parameter must be convertable to a DNS name N/A N/A N/A name is_absolute N/A N/A N/A N/A N/A name is_subdomain N/A self origin N/A N/A N/A KeyError name parameter must be a subdomain of the zone origin N/A N/A self relativize N/A N/A name N/A N/A name relativize N/A self origin N/A name N/A __getitem__ N/A N/A self key N/A N/A N/A key N/A N/A self _validate_name key N/A N/A N/A self nodes N/A key N/A __setitem__ N/A N/A self key value N/A N/A N/A key N/A N/A self _validate_name key N/A N/A N/A self nodes N/A key value N/A __delitem__ N/A N/A self key N/A N/A N/A key N/A N/A self _validate_name key N/A N/A N/A self nodes N/A key N/A __iter__ N/A N/A self N/A N/A N/A N/A N/A N/A self nodes iterkeys N/A iterkeys N/A N/A self N/A N/A N/A N/A N/A N/A self nodes iterkeys N/A keys N/A N/A self N/A N/A N/A N/A N/A N/A self nodes keys N/A itervalues N/A N/A self N/A N/A N/A N/A N/A N/A self nodes itervalues N/A values N/A N/A self N/A N/A N/A N/A N/A N/A self nodes values N/A iteritems N/A N/A self N/A N/A N/A N/A N/A N/A self nodes iteritems N/A items N/A N/A self N/A N/A N/A N/A N/A N/A self nodes items N/A get N/A N/A self key N/A N/A N/A key N/A N/A self _validate_name key N/A N/A N/A N/A self nodes get key N/A __contains__ N/A N/A self other N/A N/A N/A N/A other N/A self nodes N/A find_node N/A N/A self name create N/A False N/A N/A Find a node in the zone, possibly creating it.

        @param name: the name of the node to find
        @type name: dns.name.Name object or string
        @param create: should the node be created if it doesn't exist?
        @type create: bool
        @raises KeyError: the name is not known and create was not specified.
        @rtype: dns.node.Node object
         N/A name N/A N/A self _validate_name name N/A node N/A N/A N/A self nodes get name N/A N/A node None N/A N/A N/A create N/A N/A KeyError N/A node N/A N/A self node_factory N/A N/A N/A self nodes N/A name node N/A node N/A get_node N/A N/A self name create N/A False N/A N/A Get a node in the zone, possibly creating it.

        This method is like L{find_node}, except it returns None instead
        of raising an exception if the node does not exist and creation
        has not been requested.

        @param name: the name of the node to find
        @type name: dns.name.Name object or string
        @param create: should the node be created if it doesn't exist?
        @type create: bool
        @rtype: dns.node.Node object or None
         N/A N/A N/A node N/A N/A self find_node name create N/A N/A N/A KeyError N/A N/A node None N/A node N/A delete_node N/A N/A self name N/A N/A N/A Delete the specified node if it exists.

        It is not an error if the node does not exist.
         N/A name N/A N/A self _validate_name name N/A N/A N/A N/A self nodes has_key name N/A N/A N/A N/A self nodes N/A name N/A find_rdataset N/A N/A self name rdtype covers create N/A N/A N/A dns rdatatype NONE False N/A N/A Look for rdata with the specified name and type in the zone,
        and return an rdataset encapsulating it.

        The I{name}, I{rdtype}, and I{covers} parameters may be
        strings, in which case they will be converted to their proper
        type.

        The rdataset returned is not a copy; changes to it will change
        the zone.

        KeyError is raised if the name or type are not found.
        Use L{get_rdataset} if you want to have None returned instead.

        @param name: the owner name to look for
        @type name: DNS.name.Name object or string
        @param rdtype: the rdata type desired
        @type rdtype: int or string
        @param covers: the covered type (defaults to None)
        @type covers: int or string
        @param create: should the node and rdataset be created if they do not
        exist?
        @type create: bool
        @raises KeyError: the node or rdata could not be found
        @rtype: dns.rrset.RRset object
         N/A name N/A N/A self _validate_name name N/A N/A isinstance rdtype str N/A N/A rdtype N/A N/A N/A dns rdatatype from_text rdtype N/A N/A isinstance covers str N/A N/A covers N/A N/A N/A dns rdatatype from_text covers N/A node N/A N/A self find_node name create N/A N/A N/A node find_rdataset N/A self rdclass rdtype covers create N/A get_rdataset N/A N/A self name rdtype covers create N/A N/A N/A dns rdatatype NONE False N/A N/A Look for rdata with the specified name and type in the zone,
        and return an rdataset encapsulating it.

        The I{name}, I{rdtype}, and I{covers} parameters may be
        strings, in which case they will be converted to their proper
        type.

        The rdataset returned is not a copy; changes to it will change
        the zone.

        None is returned if the name or type are not found.
        Use L{find_rdataset} if you want to have KeyError raised instead.

        @param name: the owner name to look for
        @type name: DNS.name.Name object or string
        @param rdtype: the rdata type desired
        @type rdtype: int or string
        @param covers: the covered type (defaults to None)
        @type covers: int or string
        @param create: should the node and rdataset be created if they do not
        exist?
        @type create: bool
        @rtype: dns.rrset.RRset object
         N/A N/A N/A rdataset N/A N/A self find_rdataset name rdtype covers create N/A N/A N/A KeyError N/A N/A rdataset None N/A rdataset N/A delete_rdataset N/A N/A self name rdtype covers N/A N/A N/A dns rdatatype NONE N/A N/A Delete the rdataset matching I{rdtype} and I{covers}, if it
        exists at the node specified by I{name}.

        The I{name}, I{rdtype}, and I{covers} parameters may be
        strings, in which case they will be converted to their proper
        type.

        It is not an error if the node does not exist, or if there is no
        matching rdataset at the node.

        If the node has no rdatasets after the deletion, it will itself
        be deleted.

        @param name: the owner name to look for
        @type name: DNS.name.Name object or string
        @param rdtype: the rdata type desired
        @type rdtype: int or string
        @param covers: the covered type (defaults to None)
        @type covers: int or string
         N/A name N/A N/A self _validate_name name N/A N/A isinstance rdtype str N/A N/A rdtype N/A N/A N/A dns rdatatype from_text rdtype N/A N/A isinstance covers str N/A N/A covers N/A N/A N/A dns rdatatype from_text covers N/A node N/A N/A self get_node name N/A N/A N/A node None N/A N/A N/A N/A node delete_rdataset N/A self rdclass rdtype covers N/A N/A N/A len node 0 N/A N/A N/A N/A self delete_node name N/A replace_rdataset N/A N/A self name replacement N/A N/A N/A Replace an rdataset at name.

        It is not an error if there is no rdataset matching I{replacement}.

        Ownership of the I{replacement} object is transferred to the zone;
        in other words, this method does not store a copy of I{replacement}
        at the node, it stores I{replacement} itself.

        If the I{name} node does not exist, it is created.

        @param name: the owner name
        @type name: DNS.name.Name object or string
        @param replacement: the replacement rdataset
        @type replacement: dns.rdataset.Rdataset
         N/A N/A N/A replacement rdclass N/A self rdclass N/A N/A N/A ValueError replacement.rdclass != zone.rdclass N/A node N/A N/A self find_node name True N/A N/A N/A node replace_rdataset replacement N/A find_rrset N/A N/A self name rdtype covers N/A N/A N/A dns rdatatype NONE N/A N/A Look for rdata with the specified name and type in the zone,
        and return an RRset encapsulating it.

        The I{name}, I{rdtype}, and I{covers} parameters may be
        strings, in which case they will be converted to their proper
        type.

        This method is less efficient than the similar
        L{find_rdataset} because it creates an RRset instead of
        returning the matching rdataset.  It may be more convenient
        for some uses since it returns an object which binds the owner
        name to the rdata.

        This method may not be used to create new nodes or rdatasets;
        use L{find_rdataset} instead.

        KeyError is raised if the name or type are not found.
        Use L{get_rrset} if you want to have None returned instead.

        @param name: the owner name to look for
        @type name: DNS.name.Name object or string
        @param rdtype: the rdata type desired
        @type rdtype: int or string
        @param covers: the covered type (defaults to None)
        @type covers: int or string
        @raises KeyError: the node or rdata could not be found
        @rtype: dns.rrset.RRset object
         N/A name N/A N/A self _validate_name name N/A N/A isinstance rdtype str N/A N/A rdtype N/A N/A N/A dns rdatatype from_text rdtype N/A N/A isinstance covers str N/A N/A covers N/A N/A N/A dns rdatatype from_text covers N/A rdataset N/A N/A N/A N/A self nodes N/A name find_rdataset N/A self rdclass rdtype covers N/A rrset N/A N/A N/A dns rrset RRset name N/A self rdclass rdtype covers N/A N/A N/A rrset update rdataset N/A rrset N/A get_rrset N/A N/A self name rdtype covers N/A N/A N/A dns rdatatype NONE N/A N/A Look for rdata with the specified name and type in the zone,
        and return an RRset encapsulating it.

        The I{name}, I{rdtype}, and I{covers} parameters may be
        strings, in which case they will be converted to their proper
        type.

        This method is less efficient than the similar L{get_rdataset}
        because it creates an RRset instead of returning the matching
        rdataset.  It may be more convenient for some uses since it
        returns an object which binds the owner name to the rdata.

        This method may not be used to create new nodes or rdatasets;
        use L{find_rdataset} instead.

        None is returned if the name or type are not found.
        Use L{find_rrset} if you want to have KeyError raised instead.

        @param name: the owner name to look for
        @type name: DNS.name.Name object or string
        @param rdtype: the rdata type desired
        @type rdtype: int or string
        @param covers: the covered type (defaults to None)
        @type covers: int or string
        @rtype: dns.rrset.RRset object
         N/A N/A N/A rrset N/A N/A self find_rrset name rdtype covers N/A N/A N/A KeyError N/A N/A rrset None N/A rrset N/A iterate_rdatasets N/A N/A self rdtype covers N/A N/A N/A dns rdatatype ANY N/A N/A dns rdatatype NONE N/A N/A Return a generator which yields (name, rdataset) tuples for
        all rdatasets in the zone which have the specified I{rdtype}
        and I{covers}.  If I{rdtype} is dns.rdatatype.ANY, the default,
        then all rdatasets will be matched.

        @param rdtype: int or string
        @type rdtype: int or string
        @param covers: the covered type (defaults to None)
        @type covers: int or string
         N/A N/A isinstance rdtype str N/A N/A rdtype N/A N/A N/A dns rdatatype from_text rdtype N/A N/A isinstance covers str N/A N/A covers N/A N/A N/A dns rdatatype from_text covers N/A N/A name node N/A N/A self iteritems N/A N/A rds node N/A N/A N/A N/A rdtype N/A N/A dns rdatatype ANY N/A N/A N/A rds rdtype rdtype N/A N/A rds covers covers N/A N/A N/A N/A name rds N/A iterate_rdatas N/A N/A self rdtype covers N/A N/A N/A dns rdatatype ANY N/A N/A dns rdatatype NONE N/A N/A Return a generator which yields (name, ttl, rdata) tuples for
        all rdatas in the zone which have the specified I{rdtype}
        and I{covers}.  If I{rdtype} is dns.rdatatype.ANY, the default,
        then all rdatas will be matched.

        @param rdtype: int or string
        @type rdtype: int or string
        @param covers: the covered type (defaults to None)
        @type covers: int or string
         N/A N/A isinstance rdtype str N/A N/A rdtype N/A N/A N/A dns rdatatype from_text rdtype N/A N/A isinstance covers str N/A N/A covers N/A N/A N/A dns rdatatype from_text covers N/A N/A name node N/A N/A self iteritems N/A N/A rds node N/A N/A N/A N/A rdtype N/A N/A dns rdatatype ANY N/A N/A N/A rds rdtype rdtype N/A N/A rds covers covers N/A N/A rdata rds N/A N/A N/A N/A name N/A rds ttl rdata N/A to_file N/A N/A self f sorted relativize nl N/A True True None N/A N/A Write a zone to a file.

        @param f: file or string.  If I{f} is a string, it is treated
        as the name of a file to open.
        @param sorted: if True, the file will be written with the
        names sorted in DNSSEC order from least to greatest.  Otherwise
        the names will be written in whatever order they happen to have
        in the zone's dictionary.
        @param relativize: if True, domain names in the output will be
        relativized to the zone's origin (if possible).
        @type relativize: bool
        @param nl: The end of line string.  If not specified, the
        output will use the platform's native end-of-line marker (i.e.
        LF on POSIX, CRLF on Windows, CR on Macintosh).
        @type nl: string or None
         N/A N/A N/A sys hexversion 33751040 N/A N/A str_type basestring N/A N/A str_type str N/A N/A nl None N/A N/A opts w N/A N/A opts wb N/A N/A isinstance f str_type N/A N/A f N/A file f opts N/A want_close True N/A N/A want_close False N/A N/A N/A sorted N/A N/A names N/A N/A self keys N/A N/A N/A names sort N/A N/A names N/A N/A self iterkeys N/A n names N/A N/A l N/A N/A N/A self N/A n to_text n origin N/A self origin relativize relativize N/A N/A nl None N/A N/A f l N/A N/A N/A N/A f write l N/A N/A N/A f write nl N/A N/A want_close N/A N/A N/A N/A f close N/A check_origin N/A N/A self N/A N/A N/A Do some simple checking of the zone's origin.

        @raises dns.zone.NoSOA: there is no SOA RR
        @raises dns.zone.NoNS: there is no NS RRset
        @raises KeyError: there is no origin node
         N/A N/A self relativize N/A N/A name N/A N/A dns name empty N/A N/A name N/A self origin N/A N/A N/A N/A self get_rdataset name N/A N/A dns rdatatype SOA None N/A N/A NoSOA N/A N/A N/A N/A self get_rdataset name N/A N/A dns rdatatype NS None N/A N/A NoNS N/A N/A _MasterReader N/A object N/A N/A Read a DNS master file

    @ivar tok: The tokenizer
    @type tok: dns.tokenizer.Tokenizer object
    @ivar ttl: The default TTL
    @type ttl: int
    @ivar last_name: The last name read
    @type last_name: dns.name.Name object
    @ivar current_origin: The current origin
    @type current_origin: dns.name.Name object
    @ivar relativize: should names in the zone be relativized?
    @type relativize: bool
    @ivar zone: the zone
    @type zone: dns.zone.Zone object
    @ivar saved_state: saved reader state (used when processing $INCLUDE)
    @type saved_state: list of (tokenizer, current_origin, last_name, file)
    tuples.
    @ivar current_file: the file object of the $INCLUDed file being parsed
    (None if no $INCLUDE is active).
    @ivar allow_include: is $INCLUDE allowed?
    @type allow_include: bool
    @ivar check_origin: should sanity checks of the origin node be done?
    The default is True.
    @type check_origin: bool
     __init__ N/A N/A self tok origin rdclass relativize zone_factory allow_include check_origin N/A Zone False True N/A N/A N/A isinstance origin N/A str unicode N/A N/A origin N/A N/A N/A dns name from_text origin N/A N/A self tok tok N/A N/A self current_origin origin N/A N/A self relativize relativize N/A N/A self ttl 0 N/A N/A self last_name None N/A N/A self zone N/A zone_factory origin rdclass relativize relativize N/A N/A self saved_state N/A N/A N/A self current_file None N/A N/A self allow_include allow_include N/A N/A self check_origin check_origin N/A _eat_line N/A N/A self N/A N/A N/A 1 N/A N/A token N/A N/A N/A self tok get N/A N/A N/A token is_eol_or_eof N/A N/A N/A _rr_line N/A N/A self N/A N/A N/A Process one line from a DNS master file. N/A N/A N/A self current_origin None N/A N/A UnknownOrigin N/A token N/A N/A N/A self tok get want_leading True N/A N/A N/A N/A token is_whitespace N/A N/A N/A self last_name N/A N/A N/A dns name from_text N/A token value N/A self current_origin N/A N/A token N/A N/A N/A self tok get N/A N/A N/A token is_eol_or_eof N/A N/A N/A N/A N/A N/A self tok unget token N/A name N/A self last_name N/A N/A N/A N/A name is_subdomain N/A N/A self zone origin N/A N/A N/A N/A self _eat_line N/A N/A N/A self relativize N/A N/A name N/A N/A name relativize N/A N/A self zone origin N/A token N/A N/A N/A self tok get N/A N/A N/A N/A token is_identifier N/A N/A N/A N/A dns exception SyntaxError N/A N/A N/A ttl N/A N/A N/A dns ttl from_text N/A token value N/A token N/A N/A N/A self tok get N/A N/A N/A N/A token is_identifier N/A N/A N/A N/A dns exception SyntaxError N/A N/A N/A N/A N/A dns ttl BadTTL N/A N/A ttl N/A self ttl N/A N/A N/A rdclass N/A N/A N/A dns rdataclass from_text N/A token value N/A token N/A N/A N/A self tok get N/A N/A N/A N/A token is_identifier N/A N/A N/A N/A dns exception SyntaxError N/A N/A N/A N/A N/A dns exception SyntaxError N/A N/A N/A N/A dns exception SyntaxError N/A N/A N/A rdclass N/A N/A self zone rdclass N/A N/A rdclass N/A N/A self zone rdclass N/A N/A N/A N/A N/A dns exception SyntaxError RR class is not zone's class N/A N/A N/A rdtype N/A N/A N/A dns rdatatype from_text N/A token value N/A N/A N/A N/A N/A N/A N/A dns exception SyntaxError N/A unknown rdatatype '%s' N/A token value N/A n N/A N/A N/A N/A self zone nodes get name N/A N/A n None N/A N/A n N/A N/A N/A self zone node_factory N/A N/A N/A N/A self zone nodes N/A name n N/A N/A N/A rd N/A N/A N/A dns rdata from_text rdclass rdtype N/A self tok N/A self current_origin False N/A N/A N/A N/A N/A dns exception SyntaxError N/A N/A N/A ty va N/A N/A N/A sys exc_info N/A 2 N/A va N/A N/A N/A N/A ty va N/A N/A N/A sys exc_info N/A 2 N/A N/A N/A N/A dns exception SyntaxError N/A caught exception %s: %s N/A N/A str ty N/A str va N/A N/A N/A rd choose_relativity N/A N/A self zone origin N/A self relativize N/A covers N/A N/A rd covers N/A rds N/A N/A n find_rdataset rdclass rdtype covers True N/A N/A N/A rds add rd ttl N/A read N/A N/A self N/A N/A N/A Read a DNS master file and build a zone object.

        @raises dns.zone.NoSOA: No SOA RR was found at the zone origin
        @raises dns.zone.NoNS: No NS RRset was found at the zone origin
         N/A N/A N/A 1 N/A N/A token N/A N/A N/A N/A N/A self tok get True True unescape N/A N/A N/A token is_eof N/A N/A N/A N/A N/A self current_file None N/A N/A N/A N/A N/A self current_file close N/A N/A N/A len N/A self saved_state 0 N/A N/A N/A N/A self tok N/A self current_origin N/A self last_name N/A self current_file N/A self ttl N/A N/A N/A self saved_state pop -1 N/A N/A N/A N/A N/A N/A token is_eol N/A N/A N/A N/A N/A N/A token is_comment N/A N/A N/A N/A N/A self tok get_eol N/A N/A N/A N/A N/A N/A token value N/A 0 $ N/A N/A u N/A N/A N/A token value upper N/A N/A u $TTL N/A N/A token N/A N/A N/A self tok get N/A N/A N/A N/A token is_identifier N/A N/A N/A N/A N/A dns exception SyntaxError bad $TTL N/A N/A self ttl N/A N/A N/A dns ttl from_text N/A token value N/A N/A N/A N/A self tok get_eol N/A N/A N/A u $ORIGIN N/A N/A N/A self current_origin N/A N/A N/A self tok get_name N/A N/A N/A N/A self tok get_eol N/A N/A N/A N/A self zone origin None N/A N/A N/A N/A self zone origin N/A self current_origin N/A N/A N/A N/A u $INCLUDE N/A self allow_include N/A N/A token N/A N/A N/A self tok get N/A N/A N/A N/A token is_quoted_string N/A N/A N/A N/A N/A dns exception SyntaxError bad filename in $INCLUDE N/A filename N/A token value N/A token N/A N/A N/A self tok get N/A N/A N/A token is_identifier N/A N/A new_origin N/A N/A N/A dns name from_text N/A token value N/A self current_origin N/A N/A N/A N/A self tok get_eol N/A N/A N/A N/A N/A token is_eol_or_eof N/A N/A N/A N/A N/A dns exception SyntaxError bad origin in $INCLUDE N/A N/A new_origin N/A self current_origin N/A N/A N/A N/A self saved_state append N/A N/A self tok N/A self current_origin N/A self last_name N/A self current_file N/A self ttl N/A N/A self current_file N/A file filename r N/A N/A self tok N/A N/A N/A dns tokenizer Tokenizer N/A self current_file filename N/A N/A self current_origin new_origin N/A N/A N/A N/A N/A dns exception SyntaxError N/A N/A Unknown master file directive ' u ' N/A N/A N/A N/A N/A self tok unget token N/A N/A N/A self _rr_line N/A N/A N/A N/A N/A dns exception SyntaxError N/A detail N/A N/A N/A filename line_number N/A N/A N/A self tok where N/A N/A detail None N/A N/A detail syntax error N/A N/A N/A N/A dns exception SyntaxError N/A %s:%d: %s N/A filename line_number detail N/A N/A self check_origin N/A N/A N/A N/A N/A self zone check_origin N/A N/A from_text N/A N/A text origin rdclass relativize zone_factory filename allow_include check_origin N/A None N/A N/A dns rdataclass IN True Zone None False True N/A N/A Build a zone object from a master file format string.

    @param text: the master file format input
    @type text: string.
    @param origin: The origin of the zone; if not specified, the first
    $ORIGIN statement in the master file will determine the origin of the
    zone.
    @type origin: dns.name.Name object or string
    @param rdclass: The zone's rdata class; the default is class IN.
    @type rdclass: int
    @param relativize: should names be relativized?  The default is True
    @type relativize: bool
    @param zone_factory: The zone factory to use
    @type zone_factory: function returning a Zone
    @param filename: The filename to emit when describing where an error
    occurred; the default is '<string>'.
    @type filename: string
    @param allow_include: is $INCLUDE allowed?
    @type allow_include: bool
    @param check_origin: should sanity checks of the origin node be done?
    The default is True.
    @type check_origin: bool
    @raises dns.zone.NoSOA: No SOA RR was found at the zone origin
    @raises dns.zone.NoNS: No NS RRset was found at the zone origin
    @rtype: dns.zone.Zone object
     N/A N/A filename None N/A N/A filename <string> N/A tok N/A N/A N/A dns tokenizer Tokenizer text filename N/A reader N/A _MasterReader tok origin rdclass relativize zone_factory allow_include allow_include check_origin check_origin N/A N/A N/A reader read N/A N/A reader zone N/A from_file N/A N/A f origin rdclass relativize zone_factory filename allow_include check_origin N/A None N/A N/A dns rdataclass IN True Zone None True True N/A N/A Read a master file and build a zone object.

    @param f: file or string.  If I{f} is a string, it is treated
    as the name of a file to open.
    @param origin: The origin of the zone; if not specified, the first
    $ORIGIN statement in the master file will determine the origin of the
    zone.
    @type origin: dns.name.Name object or string
    @param rdclass: The zone's rdata class; the default is class IN.
    @type rdclass: int
    @param relativize: should names be relativized?  The default is True
    @type relativize: bool
    @param zone_factory: The zone factory to use
    @type zone_factory: function returning a Zone
    @param filename: The filename to emit when describing where an error
    occurred; the default is '<file>', or the value of I{f} if I{f} is a
    string.
    @type filename: string
    @param allow_include: is $INCLUDE allowed?
    @type allow_include: bool
    @param check_origin: should sanity checks of the origin node be done?
    The default is True.
    @type check_origin: bool
    @raises dns.zone.NoSOA: No SOA RR was found at the zone origin
    @raises dns.zone.NoNS: No NS RRset was found at the zone origin
    @rtype: dns.zone.Zone object
     N/A N/A N/A sys hexversion 33751040 N/A N/A str_type basestring N/A opts rU N/A N/A str_type str N/A opts r N/A N/A isinstance f str_type N/A N/A N/A filename None N/A N/A filename f N/A f N/A file f opts N/A want_close True N/A N/A N/A filename None N/A N/A filename <file> N/A want_close False N/A N/A N/A z N/A from_text f origin rdclass relativize zone_factory filename allow_include check_origin N/A N/A want_close N/A N/A N/A N/A f close N/A z N/A from_xfr N/A N/A xfr zone_factory relativize N/A Zone True N/A N/A Convert the output of a zone transfer generator into a zone object.

    @param xfr: The xfr generator
    @type xfr: generator of dns.message.Message objects
    @param relativize: should names be relativized?  The default is True.
    It is essential that the relativize setting matches the one specified
    to dns.query.xfr().
    @type relativize: bool
    @raises dns.zone.NoSOA: No SOA RR was found at the zone origin
    @raises dns.zone.NoNS: No NS RRset was found at the zone origin
    @rtype: dns.zone.Zone object
     N/A z None N/A r xfr N/A N/A N/A z None N/A N/A relativize N/A N/A origin N/A r origin N/A N/A origin N/A N/A N/A r answer N/A 0 name N/A rdclass N/A N/A N/A r answer N/A 0 rdclass N/A z N/A zone_factory origin rdclass relativize relativize N/A rrset N/A r answer N/A N/A znode N/A N/A N/A z nodes get N/A rrset name N/A N/A znode N/A N/A znode N/A N/A z node_factory N/A N/A N/A z nodes N/A N/A rrset name znode N/A zrds N/A N/A znode find_rdataset N/A rrset rdclass N/A rrset rdtype N/A rrset covers True N/A N/A N/A zrds update_ttl N/A rrset ttl N/A rd rrset N/A N/A N/A N/A rd choose_relativity N/A z origin relativize N/A N/A N/A zrds add rd N/A N/A N/A z check_origin N/A z N/A