Gentoo Archives: gentoo-dev

From: damaen <damaen@××××××××××××.com>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] perl compile stuck on lib/io_sock (was: emerge aborting on linux-headers)
Date: Sat, 13 Oct 2001 14:50:58
Message-Id: 20011013165130.C5427@magdelina
In Reply to: Re: [gentoo-dev] perl compile stuck on lib/io_sock (was: emerge aborting on linux-headers) by Aron Griffis
1 On 2001.10.08 12:34 Aron Griffis wrote:
2 > Hi Woodchip,
3 >
4 > Woodchip wrote: [Mon Oct 08 2001, 05:24:12AM EST]
5 > > Note, it is *incorrect* to list localhost before
6 > > localhost.localdomain. The FQDN needs to be first, followed by any
7 > > aliases you want to use.
8 >
9 > Actually, I think you may be wrong in this case. You are correct about
10 > putting FQDN first, but in this case, "localhost" may be the
11 > fully-qualified domain, and "localhost.localdomain" may be the alias,
12 > since there is no actualy domain called "localdomain".
13 >
14 > If you list "localhost" first, then programs that resolve IP->name using
15 > /etc/hosts via the gethostby*() functions will resolve
16 > 127.0.0.1->localhost, which in my experience is desirable over
17 > 127.0.0.1->localhost.localdomain.
18 >
19 > Aron
20
21 I stand corrected from my previous post... :) Personally, I haven't really
22 found any issues with using localhost after localhost.localdomain. That's
23 just the way I've always done it.