On Sat, Sep 27, 2008 at 11:35:48AM +0200, Ralf Ertzinger wrote:
Hi.
On Thu, 25 Sep 2008 14:04:35 +0200, Matej Cepl wrote
> What was meant (I guess) is that if DNS is broken and there is no
> localhost entry in /etc/hosts, user however naive will have
> bigger problems than slow sendmail on start.
Is there any particular reason why the resolver does not know
about 127.0.0.1<->localhost by default? It should of course follow
the methods outlined in nsswitch.conf to get more specific results,
but localhost is pretty crucial for a working UNIX which has networking
cababilities.
It isn't localhost that is a problem. It is the system hostname to IP
mapping that is a problem. e.g. for a host called "foobar":
127.0.0.1 localhost.localdomain localhost
foobar.domain.com foobar