From: Jason Creighton Date: 2003-05-27T02:20:37+09:00 Subject: Re: Arbitrary DNS queries? On Sat, 24 May 2003 22:45:14 +0200 Hadmut Danisch wrote: > Jason Creighton wrote: > > > > > require 'socket' > > IPSocket.getaddress(hostname) > > > > See also: > > http://www.rubycentral.com/book/lib_network.html > > > Nope, this is good for A RR only. But there are much > more Record Types, and I need to read the raw answer of new > record types (e.g. APL and RMX). Sorry, I'm not a C coder: I should have looked at the manpage for res_query before responding. Jason Creighton