[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/hosts: Two lines with the same IP address?

On Wed, 9 Jun 2004 02:09:38 +0200, Bernd Eckenfels
<lists@lina.inka.de> wrote:
>On Tue, Jun 08, 2004 at 02:48:06PM +0100, Andrew Suffield wrote:
>> The problem then is that 'getent hosts' returns 'pingo'
>> instead of 'localhost'.
>thats why it is a bad thing to  alias the hostname  to and
>should be avoided: however on systems with no (static) ip, one can either
>use (and either break hostname --fqdn or break reverse
>resolving to localhost) or use a dummy interface with a dummy ip.

This is what somebody suggested on IRC. I have configured localhost to
be, and hostname and fqdn to Which hasn't shown
any bad effects yet.


-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29

Reply to: