From owner-freebsd-questions@FreeBSD.ORG Tue Jan 20 04:01:43 2004 Return-Path: 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 27E4616A4CE for ; Tue, 20 Jan 2004 04:01:43 -0800 (PST) Received: from gw.pelleg.org (gw.pelleg.org [205.201.13.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2133143D46 for ; Tue, 20 Jan 2004 04:01:41 -0800 (PST) (envelope-from daniel+bsd@pelleg.org) Received: from lank.here (lank.wburn [192.168.3.41]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "gw.pelleg.org", Issuer "Dan Pelleg" (verified OK)) by gw.pelleg.org (Postfix) with ESMTP id 509FB5A53; Tue, 20 Jan 2004 07:01:39 -0500 (EST) Received: by lank.here (Postfix, from userid 7675) id 4E7A723D; Tue, 20 Jan 2004 07:01:36 -0500 (EST) To: Pat Lashley References: <20040120040502.GA3622@panix.com> <3258485408.1074572702@mccaffrey.phoenix.volant.org> From: Dan Pelleg Date: Tue, 20 Jan 2004 07:01:35 -0500 In-Reply-To: <3258485408.1074572702@mccaffrey.phoenix.volant.org> (Pat Lashley's message of "Mon, 19 Jan 2004 20:25:02 -0800") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.1 (Cuyahoga Valley, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: Jesse Sheidlower cc: freebsd-questions@freebsd.org Subject: Re: Mozilla: changing IP w/o restarting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2004 12:01:43 -0000 Pat Lashley writes: > --On Monday, January 19, 2004 23:05:02 -0500 Jesse Sheidlower wrote: > >> I use Mozilla on my 4.8 laptop. Whenever I switch IP addresses, >> which is frequent, as I use my computer both in the office and >> at home (and on trips, etc.), Mozilla becomes unable to >> resolve any sites it hasn't previously hit. I just get an >> endless, "Resolving host www.nytimes.com" note in the corner. >> >> The only way around this is to quit and restart the browser. >> Frankly, this is a pain in the ass, as I usually have six >> or more tabs open at once, each containing something I need, >> and I don't want to re-open everything every time I move the >> computer. >> >> Is there any way around this? I didn't see anything obvious >> in the Mozilla docs. > > Well, one work-around would be to switch from Mozilla to Galeon > and use its session capabilities to automatically re-open all > of the browser windows. (My primary desktop usually has over > 100 tabs distributed across 45 to 50 galeon windows, spread > over 5 of my 20 workspaces. Without sessions, I think the > occasional crash would send me into a homicidal frenzy...) > > You could also try setting up something like djbdns's dnscache > server on the laptop and then set resolv.conf to use 127.0.0.1. > This may not help though - I seem to recall reading that Mozilla > tries to improve DNS performance by doing it itself instead of > trusting the system... (Actually, I think it was a complaint > about Netscape; but if it does it at all, it's probably in the > shared code.) If this is related to the problem that made mozilla hang for a few seconds on some lookups (ISTR it being related to missing AAAA records), it has been fixed a while ago (at least in firebird). The OP didn't specify the mozilla version he's using Apart from that, I also like the local DNS cache approach. You can do it with the built-in named as well. -- Dan Pelleg