t.n.c.ResolverBase : class documentation

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

Known subclasses: twisted.names.authority.FileAuthority, twisted.names.cache.CacheResolver, twisted.names.client.Resolver, twisted.names.hosts.Resolver, twisted.names.resolve.ResolverChain, twisted.names.root.Resolver, twisted.names.secondary.SecondaryAuthority

ResolverBase is a base class for IResolver implementations which deals with a lot of the boilerplate of implementing all of the lookup methods.
Class Variables_errormapA dict mapping DNS protocol failure response codes to exception classes which will be used to represent those failures.
Method __init__ Undocumented
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
Method lookupIPV6Address
Method lookupAddress6
Method lookupMailExchange
Method lookupNameservers
Method lookupCanonicalName
Method lookupMailBox
Method lookupMailGroup
Method lookupMailRename
Method lookupPointer
Method lookupAuthority
Method lookupNull
Method lookupWellKnownServices
Method lookupService
Method lookupHostInfo
Method lookupMailboxInfo
Method lookupText
Method lookupSenderPolicy
Method lookupResponsibility
Method lookupAFSDatabase
Method lookupZone
Method lookupNamingAuthorityPointer
Method lookupAllRecords
Method getHostByName
Method _lookup Undocumented
Method _cbRecords Undocumented
def __init__(self): (source)
Undocumented
def exceptionForCode(self, responseCode): (source)
Convert a response code (one of the possible values of dns.Message.rCode to an exception instance representing it.
Present Since10.0
def query(self, query, timeout=None): (source)
Undocumented
def _lookup(self, name, cls, type, timeout): (source)
Undocumented
def lookupAddress(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupAddress
def lookupIPV6Address(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupIPV6Address
def lookupAddress6(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupAddress6
def lookupMailExchange(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupMailExchange
def lookupNameservers(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupNameservers
def lookupCanonicalName(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupCanonicalName
def lookupMailBox(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupMailBox
def lookupMailGroup(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupMailGroup
def lookupMailRename(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupMailRename
def lookupPointer(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupPointer
def lookupAuthority(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupAuthority
def lookupNull(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupNull
def lookupWellKnownServices(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupWellKnownServices
def lookupService(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupService
def lookupHostInfo(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupHostInfo
def lookupMailboxInfo(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupMailboxInfo
def lookupText(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupText
def lookupSenderPolicy(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupSenderPolicy
def lookupResponsibility(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupResponsibility
def lookupAFSDatabase(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupAFSDatabase
def lookupZone(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupZone
def lookupNamingAuthorityPointer(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupNamingAuthorityPointer
def lookupAllRecords(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupAllRecords
def getHostByName(self, name, timeout=None, effort=10): (source)
See Alsotwisted.names.client.getHostByName
def _cbRecords(self, (ans, auth, add), name, effort): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.