From owner-freebsd-questions Wed Nov 14 17:34:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 4D6DA37B405 for ; Wed, 14 Nov 2001 17:34:12 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 8266D2B77B; Thu, 15 Nov 2001 02:34:08 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 48916F9; Thu, 15 Nov 2001 12:34:01 +1100 (EST) Date: Thu, 15 Nov 2001 12:34:01 +1100 From: Edwin Groothuis To: The Anarcat Cc: FreeBSD Questions Subject: Re: can't do reverse dns with /etc/hosts Message-ID: <20011115123401.I684@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , The Anarcat , FreeBSD Questions References: <20011115012039.GA61093@shall.anarcat.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011115012039.GA61093@shall.anarcat.dyndns.org>; from anarcat@anarcat.dyndns.org on Wed, Nov 14, 2001 at 08:20:39PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Nov 14, 2001 at 08:20:39PM -0500, The Anarcat wrote: > Now, I figured that if I put a few entries in /etc/hosts on that router, > it won't really need to consult the DNS anyways. The entries are in > place, but it doesn't work. On a test machine, I discover that bypassing > the nameserver to do reverse queries simply breaks them. Example, with > the nameserver in resolv.conf: > > anarcat@shall[~]% host 10.0.0.1 > 1.0.0.10.IN-ADDR.ARPA domain name pointer foo.anarcat.dyndns.org man host: host - look up host names using domain server that means, there is no looking at the hosts-file. Have you swapped "hosts" and "bind" in /etc/host.conf to see if that works? Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message