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

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

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.

  (OO)      -- Bernd_Eckenfels@Mörscher_Strasse_8.76185Karlsruhe.de --
 ( .. )      ecki@{inka.de,linux.de,debian.org}  http://www.eckes.org/
  o--o     1024D/E383CD7E  eckes@IRCNet  v:+497211603874  f:+497211603875
(O____O)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!

Reply to: