DNS stub resolver.
|
NXDOMAIN
The query name does not exist.
|
|
NoAnswer
The response did not contain an answer to the question.
|
|
NoNameservers
No non-broken nameservers are available to answer the query.
|
|
NotAbsolute
Raised if an absolute domain name is required but a relative name
was provided.
|
|
NoRootSOA
Raised if for some reason there is no SOA at the root name.
|
|
NoMetaqueries
Metaqueries are not allowed.
|
|
Answer
DNS stub resolver answer
|
|
Cache
Simple DNS answer cache.
|
|
LRUCacheNode
LRUCache node.
|
|
LRUCache
Bounded least-recently-used DNS answer cache.
|
|
Resolver
DNS stub resolver
|
|
get_default_resolver()
Get the default resolver, initializing it if necessary. |
source code
|
|
|
query(qname,
rdtype=1,
rdclass=1,
tcp=False,
source=None,
raise_on_no_answer=True,
source_port=0)
Query nameservers to find the answer to the question. |
source code
|
|
dns.name.Name
|
zone_for_name(name,
rdclass=1,
tcp=False,
resolver=None)
Find the name of the zone which contains the specified name. |
source code
|
|
|
_getaddrinfo(host=None,
service=None,
family=0,
socktype=0,
proto=0,
flags=0) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
restore_system_resolver()
Undo the effects of override_system_resolver(). |
source code
|
|