]> www.infradead.org Git - users/dhowells/kafs-utils.git/commit
Use gethostbyname_ex() and gethostbyaddr() rather than the DNS resolver
authorDavid Howells <dhowells@redhat.com>
Sat, 12 Apr 2014 13:33:46 +0000 (14:33 +0100)
committerDavid Howells <dhowells@redhat.com>
Sat, 12 Apr 2014 16:49:55 +0000 (17:49 +0100)
commit6eb7066cc81051fbd007a85098265692b68c19f6
tree983edddb09d54d7d0bbe805fe9d39e391f910685
parentefdd7d744e1865e7bac15eb9180e102c2d00b782
Use gethostbyname_ex() and gethostbyaddr() rather than the DNS resolver

Use gethostbyname_ex() and gethostbyaddr() for A and PTR record retrieval
rather than using the DNS resolver directly so that /etc/hosts and suchlike
are also used.

Signed-off-by: David Howells <dhowells@redhat.com>
suite/lib/addrcache.py