public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ian Zimmerman <itz@primate.net>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: hostname problem : solved
Date: Mon, 3 Oct 2016 21:01:49 -0700	[thread overview]
Message-ID: <20161004035803.13012.2B5892FF@matica.foolinux.mooo.com> (raw)
In-Reply-To: <20161004000402.GG1705@ca.inter.net>

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


  reply	other threads:[~2016-10-04  4:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-02 11:41 [gentoo-user] hostname problem Philip Webb
2016-10-02 11:47 ` Hinnerk van Bruinehsen
2016-10-02 11:56   ` Mick
2016-10-02 12:06   ` [gentoo-user] hostname problem : solved Philip Webb
2016-10-04  0:04     ` Philip Webb
2016-10-04  4:01       ` Ian Zimmerman [this message]
2016-10-04 15:23         ` [gentoo-user] " Philip Webb
2016-10-04 12:27       ` [gentoo-user] " Todd Goodman
2016-10-04 15:19         ` Philip Webb
2016-10-04 15:42           ` William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161004035803.13012.2B5892FF@matica.foolinux.mooo.com \
    --to=itz@primate.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox