DNS stub resolver.
|
NXDOMAIN
The DNS query name does not exist.
|
|
YXDOMAIN
The DNS query name is too long after DNAME substitution.
|
|
NoAnswer
The DNS response does not contain an answer to the question.
|
|
NoNameservers
All nameservers failed to answer the query.
|
|
NotAbsolute
An absolute domain name is required but a relative name was
provided.
|
|
NoRootSOA
There is no SOA RR at the DNS root name.
|
|
NoMetaqueries
DNS 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
|
|