Bug#247734: [Fwd: Re: /etc/hosts: Two lines with the same IP address?]
-----Forwarded Message-----
From: Greg Folkert <greg@gregfolkert.net>
To: DebianDevel List <debian-devel@lists.debian.org>
Subject: Re: /etc/hosts: Two lines with the same IP address?
Date: Tue, 08 Jun 2004 15:11:47 -0400
On Tue, 2004-06-08 at 14:54, Thomas Hood wrote:
> On Tue, 2004-06-08 at 18:03, Greg Folkert wrote:
> > On Tue, 2004-06-08 at 11:31, Petter Reinholdtsen wrote:
> > > It break ssh X forwarding ...
> >
> > No, it will not. The resolvers stop at the first resolution. Having
> > something like:
> >
> > 127.0.0.1 localhost.localdomain localhost
> > 127.0.0.1 somenode.somedom.com somenode
>
> So this is perfectly OK? Or does this run into other problems?
It would work, but the more correcter (HOW much more correcter? None
more corrector!) version would be a single line with the
127.0.0.1 localhost.localdomain localhost somenode.somedomain.dom somenode
That way, you have the FQDN of lo and all of its aliases.
Reply to: