Chaz Gilbert <[EMAIL PROTECTED]> wrote:
> i've got a 3.9 server behind NAT. what should my
> /etc/hosts file look like? i thought i had this
> configured properly, but if i run:
>
> $ lynx localhost
> i get a 404
>
> $ lynx 127.0.0.1
> works as expected.
I have this in /etc/hosts:
::1 localhost.local localhost
127.0.0.1 localhost.local localhost
plus a similar 2 lines for "bull.local" (the system's idea of its own name).
Make sure you also have /etc/resolv.conf set up with a valid DNS server,
and also containing this:
lookup file bind
so that /etc/hosts will (usually) be used before trying a DNS lookup.
--
Bob Leigh [EMAIL PROTECTED]
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies