title: How can I get the IP of a hostname using a fixed DNS server?
body: <p>Is there an easy way, on *nix platforms(Linux specifically) to get the IP address of a hostname, while supplying a custom DNS server to use in place of the system's configured one? I want to access this information from a C program.</p>