From owner-freebsd-questions@FreeBSD.ORG Fri Feb 17 16:54:33 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 7371716A420 for ; Fri, 17 Feb 2006 16:54:33 +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 607C443D66 for ; Fri, 17 Feb 2006 16:54:27 +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 k1HGs5ZH002149 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 17 Feb 2006 18:54:08 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id k1HGrsvL013244; Fri, 17 Feb 2006 18:53:54 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id k1HGrs2j013243; Fri, 17 Feb 2006 18:53:54 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 17 Feb 2006 18:53:54 +0200 From: Giorgos Keramidas To: David Banning Message-ID: <20060217165354.GA13227@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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060217165042.GA40072@skytracker.ca> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.355, 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 16:54:33 -0000 On 2006-02-17 11:50, David Banning wrote: >> Look under /etc for hosts.conf or nsswitch.conf: >> >> keramida@flame:/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 >> keramida@flame:/home/keramida$ ls -l /etc/nss* >> -rw-r--r-- 1 root wheel - 18 Feb 15 17:03 /etc/nsswitch.conf >> keramida@flame:/home/keramida$ grep hosts /etc/nsswitch.conf >> hosts: files dns >> keramida@flame:/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).