Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2004 11:46:47 +0000 (GMT)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        "Rommel B. Ikeda" <r_ikeda@i-international.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: NOQUEUE: SYSERR (root): host "localhost" unknown ?
Message-ID:  <Pine.GSO.4.58.0401151143150.6457@mail.ilrt.bris.ac.uk>
In-Reply-To: <1074165350.24553.9.camel@IBM-R40e.i-international.org>
References:  <20040114040832.6951.qmail@webmail-2-1.secureserver.net> <20040114081817.GA74603@happy-idiot-talk.infracaninophile.co.uk> <1074165350.24553.9.camel@IBM-R40e.i-international.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Jan 2004, Rommel B. Ikeda wrote:

> Thank you very much for the reply...
> This was what was in my /etc/hosts before your response...
>
> 	::1		IBM-R40e IBM-R40e@point.ne.jp
> 	127.0.0.1	IBM-R40e IBM-R40e@point.ne.jp
> 	192.168.1.35	IBM-R40e IBM-R40e@point.ne.jp
>
> This is my new /etc/hosts now:
> 	::1		localhost
> 	127.0.0.1	localhost
> 	10.0.0.1	IBM-R40e@point.ne.jp

Domain names should not contain "@" characters.

> I had to supply 10.0.0.1 IBM-R40e@point.ne.jp because Gnome 2 complains
> that it can not find it...So, I just invented it...I hope that it is
> right...
> One thing I do not I understand is that when I do:
> 	%host localhost.
> It will be give a "Host not found" response...But, my system is working
> fine...What do you think is wrong with it...

The "host" command doesn't use the full resolver; it uses DNS queries
only.


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
Theory and practice _are_ the same thing. In theory.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.58.0401151143150.6457>