> I thought that was the purpose of the /etc/nsswitch.dns file, so that you
> can specify if you wanted to look at the hosts file first.

/etc/nsswitch.conf is for getent(1M).  nslookup(1) is a BIND utility and 
performs
only DNS lookups using /etc/resolv.conf to discover which nameserver should be
queried.

If you use DNS as your name service then copy /etc/nsswitch.dns to
/etc/nsswitch.conf.  /etc/nsswitch.dns is not used by anything.

Please read the man pages which I referenced.
--
This message posted from opensolaris.org

Reply via email to