On Mon, 2002-12-30 at 10:28, Wouter Lagerweij wrote:
> On Mon, 2002-12-30 at 17:12, Lonnie Borntreger wrote:
> > Look at /etc/nsswitch.conf
> 
> Ah, that one's new to me... But it sets the config for hosts as
> follows:
> 
> hosts:      files nisplus nis dns
> 
> Which, from the man page, seems to me like it should point right back
> to the hosts file.

Yup.  That's what that line means.  However, now that I think about it,
the "host" command ALWAYS uses DNS.  Applications will see the
/etc/hosts entry, but "host" itself will only do a DNS query.

TTFN, 
Lonnie Borntreger



Reply via email to