t.n.r.ResolverChain(common.ResolverBase) : class documentation

Part of twisted.names.resolve View Source View In Hierarchy

Lookup an address using multiple IResolvers
Method __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
def __init__(self, resolvers): (source)
ParametersresolversA list of IResolver providers. (type: list)
def _lookup(self, name, cls, type, timeout): (source)
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.
ParametersnameDNS name to resolve. (type: str)
typeDNS record type. (type: int)
clsDNS record class. (type: int)
timeoutNumber of seconds after which to reissue the query. When the last timeout expires, the query is considered failed. (type: Sequence of int)
ReturnsA 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)
def lookupAllRecords(self, name, timeout=None): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.