Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750734AbWE2MZi (ORCPT ); Mon, 29 May 2006 08:25:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750735AbWE2MZi (ORCPT ); Mon, 29 May 2006 08:25:38 -0400 Received: from boogie.lpds.sztaki.hu ([193.225.12.226]:44771 "EHLO boogie.lpds.sztaki.hu") by vger.kernel.org with ESMTP id S1750734AbWE2MZh convert rfc822-to-8bit (ORCPT ); Mon, 29 May 2006 08:25:37 -0400 Date: Mon, 29 May 2006 14:25:36 +0200 From: Gabor Gombas To: Christian Trefzer Cc: Jan Engelhardt , Lennart Sorensen , Alistair John Strachan , Linus Torvalds , Kyle McMartin , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Add compile domain (was: Re: [PATCH] Well, Linus seems to like Lordi...) Message-ID: <20060529122536.GE22245@boogie.lpds.sztaki.hu> References: <20060525141714.GA31604@skunkworks.cabal.ca> <200605251954.06227.s0348365@sms.ed.ac.uk> <20060525202917.GB21926@csclub.uwaterloo.ca> <20060526211140.GC16059@hermes.uziel.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20060526211140.GC16059@hermes.uziel.local> X-Copyright: Forwarding or publishing without permission is prohibited. Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1574 Lines: 36 On Fri, May 26, 2006 at 11:11:40PM +0200, Christian Trefzer wrote: > Well I always thought that 127.0.0.1 is localhost, and _only_ localhost, > and the host's real name would rather be mapped to its IP on the real > NIC. Every interface (including local loopback) has a distinct IP; Several mistakes: there is no "the real NIC". There may be multiple NICs (actually quite common nowadays on desktop motherboards, and on laptops with both wired and wireless interfaces). And one NIC may have several IP addresses, not just one. > hostnames are supposed to be resolved to one of these and need to be > somewhat unique on subnets, unless a fqdn is supplied. No. Hostname does not have to resolve to _anything_. The hostname is just a string that identifies the machine for _humans_. It is nothing more, nothing less. It follows that a hostname should be just as unique as it's human users are concerned, it has no relation to subnets or FQDN or any other network term. > Major catch: it presumes you have at least one NIC actually in use. You can always configure a dummy interface. Gabor -- --------------------------------------------------------- MTA SZTAKI Computer and Automation Research Institute Hungarian Academy of Sciences --------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/