Subject: Re: Can't find a host.
To: Nguyen, Son N. <>
From: Steven M. Bellovin <>
List: current-users
Date: 09/10/2007 11:35:23
On Mon, 10 Sep 2007 11:01:30 -0400
"Nguyen, Son N." <> wrote:

>  I have a DSL and a router to connect to internet. I set
> for my network card.
>  In /etc/rc.conf, I added dhclient=YES and I can browse the web
> without any problem.
>  In /etc/hosts file, I add "  nsl".
> But if I type 'host nsl' it could not find the host:
>  "...not found in 3(NXDOMAIN)".
>  I don't know why? Any one know? Thanks a lot.
>  snguyen 
As I understand it, host(1) only consults the DNS, not /etc/hosts.

		--Steve Bellovin,