res_query()

Paul Vixie vixie at sa.vix.com
Wed Aug 3 05:26:22 UTC 2005


appaji arunkumar <arun_appaji at yahoo.co.in> writes:

> Can anybody suggest me if we use res_query() funcion in bind9 will give
> me the Ip address for given domain name. if not suggest me for the same.

you could do it that way, but there are easier ways, like gethostbyname()
or getaddrinfo().
-- 
Paul Vixie



More information about the bind-users mailing list