Module netutils :: Class DnsResolverByShell
[hide private]

Class DnsResolverByShell

source code

BaseDnsResolver --+
                  |
                 DnsResolverByShell

Instance Methods [hide private]
 
__init__(self, shell, dnsServerAddress=None) source code
 
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