/etc/hosts contents
francisco roque
frisco at blackant.net
Tue Jul 31 08:19:24 PDT 2007
> I seem to recall dim memories of another file where that might
> be useful, too, but I can't think of it. Somebody else might.
> Maybe that's not on BSD. Hmmm.
You may be thinking of /etc/nsswitch.conf or /etc/inet/ipnodes on other
OS's, or of /etc/resolv.conf.tail on OpenBSD. On OpenBSD, modifying
/etc/hosts and /etc/resolv.conf should suffice. /etc/resolv.conf.tail may
be necessary to force parameters if you use dhcp a lot (see resolv.conf(5)
for more info).
To the OP: IIRC /etc/hosts is set up at install time with entries for
localhost and for the hostname, domain and/or ip that is entered, so
take the default that Peter linked to and substitute "my.domain" for your
domain name (or leave as is if you don't have one) and "noname" for your
hostname. If you continue to have problems, please post your
/etc/resolv.conf and /etc/hosts files.
Good luck,
-f
http://www.blackant.net/
>
> Dave
>
> _______________________________________________
> Openbsd-newbies mailing list
> Openbsd-newbies at sfobug.org
> http://mailman.theapt.org/listinfo/openbsd-newbies
>
More information about the Openbsd-newbies
mailing list