a small problem with /etc/hosts in FreeBSD 6.2

Derek Ragona derek at computinginnovations.com
Wed Sep 12 09:11:36 PDT 2007


At 11:08 AM 9/12/2007, Pollywog wrote:
>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.

Are you running ipv6?  If not just comment that line out.

         -Derek


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



More information about the freebsd-questions mailing list