From owner-freebsd-questions@FreeBSD.ORG Fri Feb 17 18:11:14 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D35E916A423 for ; Fri, 17 Feb 2006 18:11:14 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 678F943D76 for ; Fri, 17 Feb 2006 18:10:58 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) (authenticated bits=128) by igloo.linux.gr (8.13.5/8.13.5/Debian-3) with ESMTP id k1HIAfTL005695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 17 Feb 2006 20:10:44 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id k1HIAUbd013812; Fri, 17 Feb 2006 20:10:30 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id k1HIAUS3013811; Fri, 17 Feb 2006 20:10:30 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 17 Feb 2006 20:10:30 +0200 From: Giorgos Keramidas To: David Banning , Alex Zbyslaw Message-ID: <20060217181030.GC13775@flame.pc> 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> <20060217172155.GA49851@skytracker.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060217172155.GA49851@skytracker.ca> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.356, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.84, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr Cc: freebsd-questions@freebsd.org Subject: Re: mail port 8025 conundrum X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2006 18:11:15 -0000 On 2006-02-17 12:21, David Banning 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 :)