From owner-freebsd-stable@FreeBSD.ORG Wed Oct 5 01:33:47 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E98716A41F for ; Wed, 5 Oct 2005 01:33:47 +0000 (GMT) (envelope-from malcolm.kay@internode.on.net) Received: from ash25e.internode.on.net (ash25e.internode.on.net [203.16.214.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id E629943D53 for ; Wed, 5 Oct 2005 01:33:38 +0000 (GMT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp206-42.lns1.adl2.internode.on.net [203.122.206.42]) by ash25e.internode.on.net (8.12.9/8.12.6) with ESMTP id j951Xb8G091980; Wed, 5 Oct 2005 11:03:37 +0930 (CST) (envelope-from malcolm.kay@internode.on.net) From: Malcolm Kay Organization: at home To: Robert Zagarello , freebsd-stable@freebsd.org Date: Wed, 5 Oct 2005 11:03:37 +0930 User-Agent: KMail/1.5.4 References: <20051004153742.28939.qmail@web53803.mail.yahoo.com> In-Reply-To: <20051004153742.28939.qmail@web53803.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510051103.37212.malcolm.kay@internode.on.net> Cc: Subject: Re: [freebsd-stable@freebsd.org] Hosts/dns contention in FBSD 5.4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2005 01:33:47 -0000 On Wed, 5 Oct 2005 01:07 am, Robert Zagarello wrote: > When the DNS can't be reached you need to have the > server's host name in your local-LAN accessing > client's hosts file. Either way, the client hosts > file will be checked first before DNS access (this is > true for Windows OSs at least), so because of this you > can use any name in your local client, i.e., a NetBIOS > name for example (non-dotted up to 15-character, > etc.). > Of course I have entries in /etc/hosts for both source and destination on both client and destination machines. I don't recall seeing this sort of problem in FreeBSD 4.x so any comparison with Windows seems quite irrelevant. Thanks for trying, Malcolm > BZAG > ================ > > --- Malcolm Kay wrote: > > I have sytems both at home and at work running > > FreeBSD 5.4 > > ... > > But if the internet connection breaks -- e.g. the > > routers crash > > or the ISP connection fails for some reason then > > trying to ssh > > into the machine from another local machine is a > > problem -- > > either timing out our taking a very very long time. > > > > ... > > > > Now it is my understanding that resolution of host > > names should > > determine from /etc/host.conf and/or > > /etc/nsswitch.conf whether > > to first try /etc/host or the dns server addressed > > by > > /etc/resolv.conf > > > > I believe these should give preference to /etc/hosts > > but > > never-the-less things get stuck when the dns server > > can't be > > reached. > >