From owner-freebsd-questions@FreeBSD.ORG Wed Aug 17 14:13:52 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 688C516A41F for ; Wed, 17 Aug 2005 14:13:52 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFE7B43D6B for ; Wed, 17 Aug 2005 14:13:45 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [82.41.37.55] ([82.41.37.55]) by smtp-out2.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Wed, 17 Aug 2005 15:14:31 +0100 Message-ID: <43034617.80404@dial.pipex.com> Date: Wed, 17 Aug 2005 15:13:43 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.8) Gecko/20050530 X-Accept-Language: en, en-us, pl MIME-Version: 1.0 To: "Gary W. Swearingen" References: <4w1x4wyqkl.x4w@mail.opusnet.com> <43000B38.8040002@daleco.biz> <43014635.4060301@mac.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Aug 2005 14:14:31.0773 (UTC) FILETIME=[FCAD30D0:01C5A335] Cc: questions@freebsd.org 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 14:13:52 -0000 Gary W. Swearingen wrote: >Now "host", "dig", and "nslookup" work OK, even without an >/etc/resolv.conf file. But sendmail seems to need the later. >(It just has "nameserver 127.0.0.1".) > >[...] > >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? --Alex