Module netutils :: Class JavaDnsResolver
[hide private]

Class JavaDnsResolver

source code

BaseDnsResolver --+
                  |
                 JavaDnsResolver

DNS Resolver that uses java API - InetAddress

Instance Methods [hide private]
 
resolveHostnamesByIp(self, ip) source code
 
resolveIpsByHostname(self, hostname) source code
Class Variables [hide private]
Method Details [hide private]

resolveHostnamesByIp(self, ip)

source code 
Raises:
Overrides: BaseDnsResolver.resolveHostnamesByIp

resolveIpsByHostname(self, hostname)

source code 
Raises:
Overrides: BaseDnsResolver.resolveIpsByHostname

Note: When resolved IP is local (loopback) it will be replaced with destination IP address if such was specified while initializing this DNS resolver