From: Jason Creighton Date: 2003-05-25T00:50:28+09:00 Subject: Re: Arbitrary DNS queries? On Sat, 24 May 2003 10:43:14 +0200 Hadmut Danisch wrote: > > Hi, > > how can someone do arbitrary DNS queries (like c library function > res_query) in ruby? require 'socket' IPSocket.getaddress(hostname) See also: http://www.rubycentral.com/book/lib_network.html Jason Creighton