Gentoo Archives: gentoo-user

From: Russell Slater <russellds@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Name Resolution Problem
Date: Mon, 25 Jul 2005 03:26:52
Message-Id: BAY103-F2165B68FB933FA40F587A7BACA0@phx.gbl
In Reply to: Re: [gentoo-user] Name Resolution Problem by Nick Rout
1
2

lo is up, verified with ifconfig. I can ping 127.0.0.1, however pinging localhost results in "ping: unknown host localhost". I get the same result with anything else that I add to the hosts file.

3

Thanks,

4

     Russ




>From: Nick Rout <nick@×××××××.nz>
>Reply-To: gentoo-user@l.g.o
>To: gentoo-user@l.g.o
>Subject: Re: [gentoo-user] Name Resolution Problem
>Date: Mon, 25 Jul 2005 15:14:45 +1200
>
> > The /etc/hosts file has the only the following entry in it:
> > 127.0.0.1     localhost
> > I cannot get the system to reconize anything that I place in /etc/hosts. For some reason it does not appear that the /etc/hosts file is being processed. Is there a config file somewhere that specifies whether or not the hosts file gets processed? My system is setup for DHCP and resolv.conf gets overwritten every time the system is booted.
>
>Just check first that the lo interface is up? ifconfig will tell you.
>
>also
5 try
>
>ping localhost
>ping 127.0.0.1
>
>
>
>--
>Nick Rout
>
>--
>gentoo-user@g.o mailing list
>
6
7 --
8 gentoo-user@g.o mailing list
9
10
11

Replies

Subject Author
Re: [gentoo-user] Name Resolution Problem Nick Rout <nick@×××××××.nz>