From owner-freebsd-questions@FreeBSD.ORG Wed Aug 17 15:39:11 2005 Return-Path: X-Original-To: questions@freebsd.org 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 5EC9216A41F for ; Wed, 17 Aug 2005 15:39:11 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from opusnet.com (mail.opusnet.com [209.210.200.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 050E443D45 for ; Wed, 17 Aug 2005 15:39:10 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from localhost.localhost [70.98.246.232] by opusnet.com with ESMTP (SMTPD32-8.05) id AA1ABECF006E; Wed, 17 Aug 2005 08:39:06 -0700 Received: from localhost.localhost (localhost.localhost [127.0.0.1]) by localhost.localhost (8.13.3/8.13.3) with ESMTP id j7HFe2dt069920; Wed, 17 Aug 2005 08:40:02 -0700 (PDT) (envelope-from garys@opusnet.com) Received: (from jojo@localhost) by localhost.localhost (8.13.3/8.13.3/Submit) id j7HFdtvm069919; Wed, 17 Aug 2005 08:39:56 -0700 (PDT) (envelope-from garys@opusnet.com) To: Alex Zbyslaw References: <4w1x4wyqkl.x4w@mail.opusnet.com> <43000B38.8040002@daleco.biz> <43014635.4060301@mac.com> <43034617.80404@dial.pipex.com> From: garys@opusnet.com (Gary W. Swearingen) Date: Wed, 17 Aug 2005 08:39:55 -0700 In-Reply-To: <43034617.80404@dial.pipex.com> (Alex Zbyslaw's message of "Wed, 17 Aug 2005 15:13:43 +0100") Message-ID: <4s1x4svagk.x4s@mail.opusnet.com> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (Jumbo Shrimp, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-RBL-Warning: WEIGHT10: Total weight between 10 and 14. X-Spam-Tests-Failed: SPAMDOMAINS, SPFf, WEIGHT10 [11] Cc: questions@freebsd.org, "Gary W. Swearingen" Subject: Re: cache-only named won't resolve "localhost" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2005 15:39:11 -0000 Alex Zbyslaw writes: > Gary W. Swearingen wrote: > >>Mozilla apparently doesn't even use my local DNS as it still hangs. >>(I must admit that I've never checked my caching DNS's cache.) >> >> > Mozilla will use resolve.conf, if it is there. It will also cache answers for a long time and requires restarting if > you, say, add a host to /etc/hosts. > > I missed the beginiing of the thread, but why would you want to run without /etc/resolv.conf? That was just a side-issue I threw in after I read a comment about using resolv.conf's "domain" and/or "search". Its manpage says: On a normally configured system this file should not be necessary. so I just tried doing without it; host, dig, and nslookup don't need it (even when not told which DNS server to use), but my mail hung up, so either Gnus or, more likely, sendmail needs resolv.conf. The orignial and still-remaining problem was that Mozilla hangs when given "localhost/index.html" or "localhost.localhost/index.html". Then I noticed "host" didn't work and that bothered me. But I got that fixed and I don't much care about the original Mozilla problem. It appears the Mozilla doesn't use my resolver library, /etc/hosts, or my localhost cache-only DNS server. I did try restarting Mozilla after reading your comment. Don't worry about it. Thanks.