Module netutils :: Class BaseDnsResolver
[hide private]

Class BaseDnsResolver

source code

Base class for DNS resolvers

Instance Methods [hide private]
 
resolveHostnamesByIp(self, ip) source code
 
resolveIpsByHostname(self, hostname) source code
Class Variables [hide private]
  _HOSTNAME_RESOLVE_EXCEPTION = ResolveException('Failed to reso...
  _IP_RESOLVE_EXCEPTION = ResolveException('Failed to resolve IP')
Method Details [hide private]

resolveHostnamesByIp(self, ip)

source code 
Raises:

resolveIpsByHostname(self, hostname)

source code 
Raises:

Class Variable Details [hide private]

_HOSTNAME_RESOLVE_EXCEPTION

Value:
ResolveException('Failed to resolve hostname')