a small problem with /etc/hosts in FreeBSD 6.2

Pollywog lists-fbsd at shadypond.com
Wed Sep 12 09:08:51 PDT 2007


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.


More information about the freebsd-questions mailing list