Part of twisted.names.resolve View Source View In Hierarchy
IResolver
sMethod | __init__ | |
Method | lookupAllRecords | Undocumented |
Method | _lookup | Build a dns.Query for the
given parameters and dispatch it to each IResolver
in self.resolvers until an answer or error.AuthoritativeDomainError
is returned. |
Inherited from ResolverBase:
Method | exceptionForCode | Convert a response code (one of the possible values of dns.Message.rCode
to an exception instance representing it. |
Method | query | Undocumented |
Method | lookupAddress | Undocumented |
Method | lookupIPV6Address | Undocumented |
Method | lookupAddress6 | Undocumented |
Method | lookupMailExchange | Undocumented |
Method | lookupNameservers | Undocumented |
Method | lookupCanonicalName | Undocumented |
Method | lookupMailBox | Undocumented |
Method | lookupMailGroup | Undocumented |
Method | lookupMailRename | Undocumented |
Method | lookupPointer | Undocumented |
Method | lookupAuthority | Undocumented |
Method | lookupNull | Undocumented |
Method | lookupWellKnownServices | Undocumented |
Method | lookupService | Undocumented |
Method | lookupHostInfo | Undocumented |
Method | lookupMailboxInfo | Undocumented |
Method | lookupText | Undocumented |
Method | lookupSenderPolicy | Undocumented |
Method | lookupResponsibility | Undocumented |
Method | lookupAFSDatabase | Undocumented |
Method | lookupZone | Undocumented |
Method | lookupNamingAuthorityPointer | Undocumented |
Method | getHostByName | Undocumented |
Class Variable | _errormap | A dict mapping DNS protocol failure response codes to
exception classes which will be used to represent those failures. |
Method | _cbRecords | Undocumented |
dns.Query
for the
given parameters and dispatch it to each IResolver
in self.resolvers
until an answer or error.AuthoritativeDomainError
is returned.Parameters | name | DNS name to resolve. (type: str ) |
type | DNS record type. (type: int ) | |
cls | DNS record class. (type: int ) | |
timeout | Number of seconds after which to reissue the query. When the last timeout
expires, the query is considered failed. (type: Sequence of int ) | |
Returns | A Deferred
which fires with a three-tuple of lists of twisted.names.dns.RRHeader
instances. The first element of the tuple gives answers. The second
element of the tuple gives authorities. The third element of the tuple
gives additional information. The Deferred may
instead fail with one of the exceptions defined in twisted.names.error or
with NotImplementedError . (type: Deferred ) |