On 2006-02-17 11:50, David Banning <[EMAIL PROTECTED]> wrote:
>> Look under /etc for hosts.conf or nsswitch.conf:
>>
>>     [EMAIL PROTECTED]:/home/keramida$ ls -l /etc/hosts*
>>     -rw-r--r--  1 root  wheel  -  655 Feb 15 15:00 /etc/hosts
>>     -rw-r--r--  1 root  wheel  - 1484 Feb 15 15:00 /etc/hosts.allow
>>     -rw-r--r--  1 root  wheel  -  111 Feb 15 14:45 /etc/hosts.equiv
>>     -rw-r--r--  1 root  wheel  -   99 Feb 15 14:45 /etc/hosts.lpd
>>     [EMAIL PROTECTED]:/home/keramida$ ls -l /etc/nss*
>>     -rw-r--r--  1 root  wheel  - 18 Feb 15 17:03 /etc/nsswitch.conf
>>     [EMAIL PROTECTED]:/home/keramida$ grep hosts /etc/nsswitch.conf
>>     hosts: files dns
>>     [EMAIL PROTECTED]:/home/keramida$
>
> root# ls -l /etc/hosts*
> -rw-r--r--  1 root  wheel  1694 May 13  2005 /etc/hosts
> -rw-r--r--  1 root  wheel  3027 Mar 27  2005 /etc/hosts.allow
> -rw-r--r--  1 root  wheel   421 Mar 27  2005 /etc/hosts.equiv
> -rw-r--r--  1 root  wheel    99 Apr  3  2003 /etc/hosts.lpd
> root# ls -tl /etc/nss*
> ls: /etc/nss*: No such file or directory
> root#

What version of FreeBSD is this?  You may have to create hosts.conf or
nsswitch.conf yourself to change the default order of lookup for host
names (from "files dns" to "dns files" if that works better for your
setup).

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to