From: Daniel Hobe Date: 2003-12-17T04:49:59+09:00 Subject: resolv.rb question I'm writing a script where it would be really good to be able to give Resolv::DNS.new() an arbitrary list of DNS servers to use without having to feed it a modified resolv.conf file. Is there a good way to do this? I'd like to be able to do this: r = Resolv::DNS.new(nameservers=['127.0.0.1','192.168.0.1'],search=['foo.com']) a = r.getaddress($host) Is there a good way to do this? The current Resolv::DNS seems to be fixated on loading all it's information from a resolv.conf or hosts file. -- Daniel Hobe http://www.nightrunner.com