>Date: Thu, 16 Nov 2000 13:24:52 -0600 (CST)
>From: Joi Ellis <[EMAIL PROTECTED]>

>>I'm pretty sure that all (UNIX) versions of nslookup uses gethostbyname();
>>...

>I'm not sure of this at all.  On our internal machines, various breeds
>of linux and solaris, nslookup doesn't return an answer if there is no
>DNS entry for the name in question, EVEN IF that host is named in the
>/etc/hosts file.

Yup -- I was incorrect:  nslookup *only* does DNS queries; it does not
pay attention to any other mechanisms for hostname resolution.

>Some versions of nslookup will accept an IP address, ie the Linux flavor
>will, but default Solaris flavors won't.

Right.

Sorry for any confusion,
david
-- 
David Wolfskill      [EMAIL PROTECTED]   UNIX System Administrator
Desk: 650/577-7158   TIE: 8/499-7158   Cell: 650/759-0823

Reply via email to