From owner-freebsd-questions@FreeBSD.ORG Mon Aug 15 15:27:32 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 009E016A41F for ; Mon, 15 Aug 2005 15:27:31 +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 A30FF43D49 for ; Mon, 15 Aug 2005 15:27:31 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from localhost.localhost [70.98.246.232] by opusnet.com with ESMTP (SMTPD32-8.05) id A45BE4010030; Mon, 15 Aug 2005 08:27:23 -0700 Received: from localhost.localhost (localhost.localhost [127.0.0.1]) by localhost.localhost (8.13.3/8.13.3) with ESMTP id j7FFS5sa026165; Mon, 15 Aug 2005 08:28:05 -0700 (PDT) (envelope-from garys@opusnet.com) Received: (from jojo@localhost) by localhost.localhost (8.13.3/8.13.3/Submit) id j7FFS0sm026164; Mon, 15 Aug 2005 08:28:00 -0700 (PDT) (envelope-from garys@opusnet.com) To: Kevin Kinsey References: <4w1x4wyqkl.x4w@mail.opusnet.com> <43000B38.8040002@daleco.biz> From: garys@opusnet.com (Gary W. Swearingen) Date: Mon, 15 Aug 2005 08:28:00 -0700 In-Reply-To: <43000B38.8040002@daleco.biz> (Kevin Kinsey's message of "Sun, 14 Aug 2005 22:25:44 -0500") Message-ID: 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 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: Mon, 15 Aug 2005 15:27:32 -0000 Kevin Kinsey writes: > Did you `sh /var/named/etc/namedb/make-localhost` ? Yup, but that only handles the reverse translation (which works OK) and, of course, doesn't handle other stuff I might have in "/etc/hosts". I also have in /etc/nsswitch.conf: hosts: files dns so I'd think domain resolution should look in /etc/hosts before even checking my cache-only named. Which it seems to do for "ping", but not for "host", "nslookup", or "mozilla". > Or, maybe I'm just not catching on.... :-( Caching on?