On Saturday, September 27, 2003, at 03:47 PM, Airman wrote:


I'm using the following PERL code to do some DNS queries. Anyone know how to
specify what "dns or nameserver" to use instead of what is in
/etc/resolv.conf (unix)? Or is there a better way in PERL?

You can't specify it if you're using gethostbyname(), that uses the systems name resolution facilities which will use your resolv.conf settings. You might try using the CPAN module Net::DNS for some additional flexibility.


George


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to