mail port 8025 conundrum

Giorgos Keramidas keramida at ceid.upatras.gr
Fri Feb 17 10:11:15 PST 2006


On 2006-02-17 12:21, David Banning <david+dated+1140628917.fbd5d8 at skytracker.ca> wrote:
> > Er, I'm pretty sure it's /etc/host.conf (no "s").
> >
> > 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?
>
> Originally there was no banning.ca entry.
> 127.0.0.1 points simply to localhost
>
> My actual server name is 3s1.com, which points to 209.161.205.12
> (my static IP) in /etc/hosts
>
> You are right about host.conf, but it is almost empty;

That's a perfectly normal host.conf file though :)

> root# cat /etc/host.conf
> # $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $
> # First try the /etc/hosts file
> hosts
> # Now try the nameserver next.
> bind
> # If you have YP/NIS configured, uncomment the next line
> # nis
> root#

So if you add something to /etc/hosts it will override DNS :)



More information about the freebsd-questions mailing list