Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2007 16:08:46 +0000
From:      Pollywog <lists-fbsd@shadypond.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: a small problem with /etc/hosts in FreeBSD 6.2
Message-ID:  <200709121608.46424.lists-fbsd@shadypond.com>
In-Reply-To: <20070912174653.U6653@wojtek.tensor.gdynia.pl>
References:  <200709121533.24833.lists-fbsd@shadypond.com> <20070912174653.U6653@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 12 September 2007 15:47:15 Wojciech Puchar wrote:
> > in my hosts file, I have a line that looks like this:
> > ::1                    localhost localhost.mydomain.com
> >
> > Is this line for IPv6 or is there some other reason for its presence?  It
> > causes occasional problems, so I commented it out and I kept a similar
> > line that points to 127.0.0.1
>
> there should be 2 lines
>
> ::1			localhost localhost.my.domain
>
> 127.0.0.1		localhost localhost.my.domain
>

Yes, there are, but it is the first line that causes the error.  I suppose I 
could transpose them rather than comment out the first line.
I had not thought to try that.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709121608.46424.lists-fbsd>