[7825] in athena10
Re: nss-myhostname
daemon@ATHENA.MIT.EDU (Anders Kaseorg)
Sun Jul 10 20:14:29 2011
Date: Sun, 10 Jul 2011 20:14:21 -0400 (EDT)
From: Anders Kaseorg <andersk@MIT.EDU>
To: Geoffrey Thomas <geofft@mit.edu>
cc: debathena@mit.edu
In-Reply-To: <alpine.DEB.2.00.1107101243360.8988@tyger.mit.edu>
Message-ID: <alpine.DEB.2.02.1107102010250.30450@dr-wily.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=UTF-8
Content-Transfer-Encoding: 8bit
On Sun, 10 Jul 2011, Geoffrey Thomas wrote:
> It seems likely that we want this. It will handle the machine's hostname/IP
> changing, but also not return 127.x.x.x unless the machine is simply not on
> the network.
What do you believe we want this for? Cluster machines have a static IP.
For laptops with a dynamic IP, it’s more correct for their hostname to
resolve to 127.0.1.1, so that loopback connections don’t break every time
the machine goes off the network. (And we shouldn’t fiddle with the
network config of non-cluster machines, especially if it ain’t broke.)
Anders