Date: Wed, 22 Jan 1997 17:01:31 -0800 (PST) From: Doug White <dwhite@gdi.uoregon.edu> To: Carl Makin <cmakin@nla.gov.au> Cc: freebsd-questions@freebsd.org Subject: Re: logon hangs. Message-ID: <Pine.BSI.3.94.970122170024.7369Y-100000@localhost> In-Reply-To: <Pine.BSF.3.95.970122111150.10057A-100000@gadget.nla.gov.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Jan 1997, Carl Makin wrote: > > 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. It's trying to reverse-query you so it can record it in the utmp file. What shell are you using? tcsh v6.05 had a bug that did a lookup each time you ran it. 6.06 fixes it. > 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. What about /etc/host.conf? did you rewire it to search /etc/hosts first? Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.970122170024.7369Y-100000>