From owner-freebsd-questions Thu May 3 15:17:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmod.ath.cx (CC2-861.charter-stl.com [24.217.115.99]) by hub.freebsd.org (Postfix) with ESMTP id 57BC337B424 for ; Thu, 3 May 2001 15:17:10 -0700 (PDT) (envelope-from ajh3@chmod.ath.cx) Received: by chmod.ath.cx (Postfix, from userid 1001) id DB3F9A876; Thu, 3 May 2001 17:16:19 -0500 (CDT) Date: Thu, 3 May 2001 17:16:19 -0500 From: Andrew Hesford To: Corey Brune Cc: Andrew Hesford , FreeBSD-questions Subject: Re: BIND Issues Message-ID: <20010503171619.A10368@cec.wustl.edu> References: <20010502171533.A36461@cec.wustl.edu> <200105031951.f43JpYp11288@sdf.lonestar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200105031951.f43JpYp11288@sdf.lonestar.org>; from brune@sdf.lonestar.org on Thu, May 03, 2001 at 07:51:34PM +0000 X-Loop: Andrew Hesford Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, May 03, 2001 at 07:51:34PM +0000, Corey Brune wrote: > You will need to have a reverse entry. In your named.conf the entry will look > like: > zone "0.0.0.in-addr.arpa" { > type master; > file "path/to/the/file"; > }; > > and inside the reverse file the entry should look like: > > 000 PTR nameofyourserver > > of course 000 will be the last bit of your IP. > > Hope this helps, > > Corey > > Andrew Hesford > > > > I'm using whatever version of BIND is in the contrib branch of the main > > FreeBSD source tree, cvsup'ed a few days ago. > > > > I have no reverse DNS entry for myself. I have a zone file which maps a > > bunch of 192.168.1.0/0xffffff00 addresses to host names, and when I use > > nslookup or host on the name, it finds the address. However, nslookup on > > the address fails to find a hostname. > > > > This is causing all sorts of login hell using telnet on my private > > network. How can I make sure my server will respond to reverse DNS > > queries? Yes, thank you. A few people have already contacted me privately about this problem. Who knew that's what the IN-ADDR.ARPA zone file was for? That now sheds new light on why the file is called "localhost.rev". Just thank God I'm learning this stuff on my own, private network, and not on a large site. :) -- Andrew Hesford ajh3@chmod.ath.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message