Home | Trees | Index | Help |
|
---|
Package dns :: Module resolver |
|
Classes | |
---|---|
Answer |
DNS stub resolver answer |
Cache |
Simple DNS answer cache. |
Resolver |
DNS stub resolver |
Exceptions | |
---|---|
NoAnswer |
The response did not contain an answer to the question. |
NoNameservers |
No non-broken nameservers are available to answer the query. |
NoRootSOA |
Raised if for some reason there is no SOA at the root name. |
NotAbsolute |
Raised if an absolute domain name is required but a relative name was provided. |
NXDOMAIN |
The query name does not exist. |
Function Summary | |
---|---|
Get the default resolver, initializing it if necessary. | |
Query nameservers to find the answer to the question. | |
dns.name.Name |
Find the name of the zone which contains the specified name. |
Variable Summary | |
---|---|
dns.resolver.Resolver object | default_resolver : The default resolver object |
Function Details |
---|
get_default_resolver()Get the default resolver, initializing it if necessary. |
query(qname, rdtype=1, rdclass=1, tcp=False)Query nameservers to find the answer to the question. This is a convenience function that uses the default resolver object to make the query.
|
zone_for_name(name, rdclass=1, tcp=False, resolver=None)Find the name of the zone which contains the specified name.
|
Variable Details |
---|
default_resolverThe default resolver object
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Nov 25 17:43:04 2007 | http://epydoc.sf.net |