From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 611DA138330 for ; Tue, 4 Oct 2016 04:02:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD07BE0C3B; Tue, 4 Oct 2016 04:02:03 +0000 (UTC) Received: from acedia.primate.net (disorder.primate.net [198.144.194.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4C94AE0C27 for ; Tue, 4 Oct 2016 04:02:02 +0000 (UTC) Received: from acedia.primate.net (localhost [127.0.0.1]) by acedia.primate.net (8.15.2/8.15.2/Debian-6) with ESMTPS id u9441uff016277 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 3 Oct 2016 21:02:01 -0700 Received: (from itz@localhost) by acedia.primate.net (8.15.2/8.15.2/Submit) id u9441pqP016269 for gentoo-user@lists.gentoo.org; Mon, 3 Oct 2016 21:01:51 -0700 X-Authentication-Warning: acedia.primate.net: itz set sender to itz@primate.net using -f Received: from [10.8.78.14] (helo=matica.foolinux.mooo.com) by ahiker.mooo.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1brGvO-0001Ta-HR for gentoo-user@lists.gentoo.org; Mon, 03 Oct 2016 21:01:50 -0700 Received: from itz by matica.foolinux.mooo.com with local (Exim 4.87) (envelope-from ) id 1brGvN-0003Q6-Ak for gentoo-user@lists.gentoo.org; Mon, 03 Oct 2016 21:01:49 -0700 Date: Mon, 3 Oct 2016 21:01:49 -0700 From: Ian Zimmerman To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: hostname problem : solved Message-ID: <20161004035803.13012.2B5892FF@matica.foolinux.mooo.com> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20161002114148.GA1808@ca.inter.net> <20161002114710.kvwtki4ckeyh4x6t@Securitron.fritz.box> <20161002120651.GA1706@ca.inter.net> <20161004000402.GG1705@ca.inter.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161004000402.GG1705@ca.inter.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-Archives-Salt: ad933bd5-c8a0-4f86-86e1-5e426c0cf4f3 X-Archives-Hash: 603048ab438a9f25f8f168c126222bbf On 2016-10-03 20:04, Philip Webb wrote: > However, I'm now wondering whether/why the system needs both > /etc/hosts + /etc/conf.d/hostname , which seem to do the same thing. > Can anyone explain ? /etc/hosts does a quite different job, it maps names to IP addresses. It is basically an alternative to DNS, for names which aren't in the global DNS name space, such as "localhost" - because each person's "localhost" is distinct. -- Please *no* private Cc: on mailing lists and newsgroups Personal signed mail: please _encrypt_ and sign Don't clear-text sign: http://cr.yp.to/smtp/8bitmime.html