From owner-freebsd-hackers Mon Sep 1 03:30:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA18768 for hackers-outgoing; Mon, 1 Sep 1997 03:30:28 -0700 (PDT) Received: from euthyphro.uchicago.edu (euthyphro.uchicago.edu [128.135.21.31]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA18763 for ; Mon, 1 Sep 1997 03:30:21 -0700 (PDT) Received: from phaedrus.uchicago.edu (phaedrus [128.135.21.10]) by euthyphro.uchicago.edu (8.8.6/8.8.4) with ESMTP id FAA05614; Mon, 1 Sep 1997 05:30:19 -0500 (CDT) Received: (from sfarrell@localhost) by phaedrus.uchicago.edu (8.8.5/8.8.5) id FAA01186; Mon, 1 Sep 1997 05:30:17 -0500 (CDT) To: Andrew Reilly Cc: hackers@FreeBSD.ORG Subject: Re: Netscape Communicator 4.02b7 References: <199709010813.SAA00583@gurney.reilly.home> Mime-Version: 1.0 (generated by tm-edit 7.89) Content-Type: text/plain; charset=US-ASCII From: stephen farrell Date: 01 Sep 1997 05:30:16 -0500 In-Reply-To: Andrew Reilly's message of "Mon, 1 Sep 1997 18:13:01 +1000 (EST)" Message-ID: <87yb5hpbrb.fsf@phaedrus.uchicago.edu> Lines: 20 X-Mailer: Gnus v5.4.64/XEmacs 19.15 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Andrew Reilly writes: > > Mike Smith said: > >> Communicator forks to create the DNS helper process (a great idea, > >> IMHO) > > I don't know much (anything) about Netscape's DNS helper, but I > assume that it is some sort of DNS cache, to help avoid DNS traffic > of some sort. Why is it a good idea to have an application-specific > DNS cache, instead of tweaking named? The DNS helper is there because the nameserver lookup routines in unix are blocking (and cannot, as I understand it, easily be fixed to be asynchronous). As a consequence, a process which tries to do a nameserver lookup will appear to "hang"--i.e., not even refreshes on the windows--until the name server lookup either succeeds or times out. This can be very frustrating with a gui app like netscape. The DNS helper is there to do the nameserver lookups. This way the gui of netscape appears to remain "alive", and you can quit if you don't feel like waiting like 60 seconds for the nameserver lookup.