Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 2006 20:04:51 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Alex Zbyslaw <xfb52@dial.pipex.com>, David Banning <david+dated+1140627043.fc6535@skytracker.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mail port 8025 conundrum
Message-ID:  <20060217180451.GA13775@flame.pc>
In-Reply-To: <43F604DE.1010101@dial.pipex.com>
References:  <20060217160651.GA22179@skytracker.ca> <002601c633dd$1a7349f0$1215450a@ad.ewsad.net> <20060217162952.GA31165@skytracker.ca> <20060217163347.GB13036@flame.pc> <20060217163844.GD31165@skytracker.ca> <20060217164447.GD13036@flame.pc> <20060217165042.GA40072@skytracker.ca> <43F604DE.1010101@dial.pipex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-02-17 17:16, Alex Zbyslaw <xfb52@dial.pipex.com> wrote:
>David Banning wrote:
>>>Look under /etc for hosts.conf or nsswitch.conf:
>>>
>>> [...]
>>
>> 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#
>
> Er, I'm pretty sure it's /etc/host.conf (no "s").

You're absolutely right, of course.  Sorry for the confusion :-)

> But if your /etc/hosts doesn't contain the hostname you are after,
> that only leaves DNS, NIS and LDAP (I think) for the host.conf file to
> order.  For DNS, what does "host whatever.your.hostname.was" show from
> the machine where you seem to be getting the wrong answer?

Good question :)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060217180451.GA13775>