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 0D161138330 for ; Tue, 4 Oct 2016 15:23:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9341DE0C4B; Tue, 4 Oct 2016 15:23:12 +0000 (UTC) Received: from mail-1.ca.inter.net (mail-1.ca.inter.net [208.85.220.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53BD8E0C3F for ; Tue, 4 Oct 2016 15:23:12 +0000 (UTC) Received: from localhost (offload-3.ca.inter.net [208.85.220.70]) by mail-1.ca.inter.net (Postfix) with ESMTP id 9F5F52EA0B4 for ; Tue, 4 Oct 2016 11:23:11 -0400 (EDT) Received: from mail-1.ca.inter.net ([208.85.220.69]) by localhost (offload-3.ca.inter.net [208.85.220.70]) (amavisd-new, port 10024) with ESMTP id LhqHJ-7mnEzD for ; Tue, 4 Oct 2016 11:23:11 -0400 (EDT) Received: from ca.inter.net (host-45-58-198-15.dyn.295.ca [45.58.198.15]) by mail-1.ca.inter.net (Postfix) with SMTP id 5739B2EA0A1 for ; Tue, 4 Oct 2016 11:23:10 -0400 (EDT) Received: by ca.inter.net (sSMTP sendmail emulation); Tue, 04 Oct 2016 11:23:10 -0400 Date: Tue, 4 Oct 2016 11:23:10 -0400 From: Philip Webb To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: hostname problem : solved Message-ID: <20161004152310.GE1699@ca.inter.net> 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> <20161004035803.13012.2B5892FF@matica.foolinux.mooo.com> 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: <20161004035803.13012.2B5892FF@matica.foolinux.mooo.com> User-Agent: Mutt/1.7.0 (2016-08-17) X-Archives-Salt: 132a07b6-434f-45fd-a342-2a7b0f171406 X-Archives-Hash: aba06fe7160d09ba766799083a6de58f 161003 Ian Zimmerman wrote: > 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. > /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. Thanks : yes I see the difference in function ; added to my notes. -- ========================,,============================================ SUPPORT ___________//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT `-O----------O---' purslowatchassdotutorontodotca