I think gethostbyname uses the nameservers listed in /etc/resolv.conf but what does that have to do with perl?
try man gethostbyname HTH > -----Original Message----- > From: Airman [mailto:[EMAIL PROTECTED] > Sent: Monday, June 09, 2003 6:34 PM > To: [EMAIL PROTECTED] > Subject: DNS Lookup > > > Does anyone know how to reference different DNS servers when > using gethostbyname. I want to check up to three different > nameserver for consistency checking. > > Thanks, > Glen > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]