Adam Bozanich wrote:
> On 6/28/07, barjunk <barjunk / attglobal.net> wrote:
> 
> Example ( verified ):
> 
> require 'resolv'
> Resolv::DNS.open({:nameserver=>["206.13.28.12"]}) do |r|
>     puts r.getaddress("www.google.com")
> end
> 
> -Adam

Hi Adam...
:nameserver=>["206.13.28.12"]
here the nameserver can have any LIVE IP right?? i mean i tried changing 
this IP and used one of my own server IPs.. and it worked the same... 
please correct me if I am going wrong ....
-- 
Posted via http://www.ruby-forum.com/.