Re: Setting up of local resolver
- From: Bob Hauck <postmaster@xxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Jul 2007 09:44:50 -0400
On Mon, 30 Jul 2007 05:29:12 -0700, Alexander Krizhanovsky
<a.krizhanovsky@xxxxxxxxx> 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/
.
- Follow-Ups:
- Re: Setting up of local resolver
- From: Alexander Krizhanovsky
- Re: Setting up of local resolver
- References:
- Setting up of local resolver
- From: Alexander Krizhanovsky
- Re: Setting up of local resolver
- From: Robert Harris
- Re: Setting up of local resolver
- From: Alexander Krizhanovsky
- Re: Setting up of local resolver
- From: Robert Harris
- Re: Setting up of local resolver
- From: Alexander Krizhanovsky
- Setting up of local resolver
- Prev by Date: Re: X11 Terminal with Floppy/CD/USB-Stick
- Next by Date: Re: Setting up of local resolver
- Previous by thread: Re: Setting up of local resolver
- Next by thread: Re: Setting up of local resolver
- Index(es):
Relevant Pages
|