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