[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/hosts and resolving of the local host/domainname - 127.0.0.1 vs. 127.0.1.1



On Wed, Jul 31, 2013 at 03:46:29PM +0800, Thomas Goirand wrote:
> On 07/31/2013 08:30 AM, Steve Langasek wrote:
> > What I'm missing your email is a problem statement explaining what it is
> > you're trying to solve.  The current implementation has been working
> > reliably for years.

> He did wrote it. 127.0.1.1 breaks because some daemon (many, according
> to him) bind only on 127.0.0.1, and not 127.0.0.0/8 as they should.

I disagree that this is a problem.  If you are connecting to a loopback-only
service, you should connect to it by the name "localhost".  If you are
connecting to it by hostname, that implies that it's an outward-facing
service - one that should be bound to all interfaces by default.  Anything
else is user / configuration error.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: