On Mon, 30 Jul 2007 05:29:12 -0700, Alexander Krizhanovsky
<(E-Mail Removed)> wrote:
> When I run host `hostname` I see in tcpdump DNS requests to local
> machine (requests on loopback interface), but comman returns with
> error meassage.
That would be because "host" _always_ uses DNS. It does not ever use
/etc/hosts and there is no way to make it do so. It is after all a tool
for testing DNS. If you must have it working then you need to set up a
local DNS or point /etc/resolv.conf to a working DNS.
If you just want to see if your setup is right, try another program like
"ping". It should use local files first.
--
-| Bob Hauck
-| "Reality has a well-known liberal bias." -- Stephen Colbert
-|
http://www.haucks.org/