From owner-freebsd-questions Tue Jan 21 17:00:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA28166 for questions-outgoing; Tue, 21 Jan 1997 17:00:57 -0800 (PST) Received: from gadget.nla.gov.au (root@gadget.nla.gov.au [203.4.201.52]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id RAA28160 for ; Tue, 21 Jan 1997 17:00:53 -0800 (PST) Received: from localhost (cmakin@localhost) by gadget.nla.gov.au (8.8.4/8.8.4) with SMTP id LAA10187 for ; Wed, 22 Jan 1997 11:23:01 +1100 (EST) X-Authentication-Warning: gadget.nla.gov.au: cmakin owned process doing -bs Date: Wed, 22 Jan 1997 11:23:00 +1100 (EST) From: Carl Makin To: freebsd-questions@freebsd.org Subject: logon hangs. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm having a problem with logons, su's and xterm invocations hanging when the nameserver goes away or loses it's internet link. I have a home network where a FreeBSD 2.1.6.1 box running Darren Reed's IPFilter package is acting as a gateway to the Internet for a bunch of other machines. I run named on this gateway with different configurations for the different ISPs I use, all invoked by a dial script. My main FreeBSD box sits behind this gateway and points resolv.conf to it. When the modem drops out or the gateway box is not powered on my main FreeBSD box hangs for a while when logging in, invoking an xterm, or using su. It's obviously a nameserver timout problem but I'm buggered if I can work out why the damn thing is querying the nameserver in the first place. I changed the order in resolve.conf to hosts then bind and made sure ALL hosts I use are in the hosts file but still no joy. Even if the gateway box is up and the nameserver is running, if the modem drops out I get the same hangs. Does anyone know what is happening here? Is there any way of fixing it? Carl. -- Carl Makin (VK1KCM) C.Makin@nla.gov.au 'Work +61 6 262 1576' "Speaking for myself only!" 'If you want to make your spouse pay attention to what you say... Talk in your sleep!'