From owner-freebsd-questions Sun Oct 31 7: 6:20 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc2.on.home.com (ha1.rdc2.on.home.com [24.9.0.15]) by hub.freebsd.org (Postfix) with ESMTP id 7A61E14DF9 for ; Sun, 31 Oct 1999 07:06:17 -0800 (PST) (envelope-from street@iname.com) Received: from mired.eh.local ([24.64.136.188]) by mail.rdc2.on.home.com (InterMail v4.01.01.07 201-229-111-110) with ESMTP id <19991031150616.RZHV3040.mail.rdc2.on.home.com@mired.eh.local>; Sun, 31 Oct 1999 07:06:16 -0800 Received: (from kws@localhost) by mired.eh.local (8.9.3/8.9.3) id KAA67768; Sun, 31 Oct 1999 10:06:16 -0500 (EST) (envelope-from kws) To: "Ronald F. Guilmette" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: BIND (8.1.2) reverse mapping for RFC 1918 addresses? - Please Help References: <6976.941355188@segfault.monkeys.com> From: Kevin Street Date: 31 Oct 1999 10:06:16 -0500 In-Reply-To: "Ronald F. Guilmette"'s message of "Sun, 31 Oct 1999 00:33:08 -0700" Message-ID: <8766zna7tj.fsf@mired.eh.local> Lines: 42 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Biscayne" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Ronald F. Guilmette" writes: > I'm using the stock bind 8.1.2 that came with FreeBSD 3.3 and I'm having > one helluva time getting various reverse mapping stuff working right. > ... > Problem #1) > > Regardless of the fact that I seem to have setup my reverse lookup zone > properly for the 127.0.0.* zone, every time named starts up it puts an error > message in the syslog that says: > > Oct 31 00:01:48 segfault named[1963]: localhost.rev: No such file or directory > > What the heck is this "localhost.rev" stuff all about??? /etc/namedb/localhost.rev is the standard place to put the reverse mapping for 127.0.0.1. It's normally referenced in named.conf like: zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.rev"; }; It can be automatically generated by the make-localhost script in /etc/namedb. > Problem #2) > > Try as I might, I have not been able to setup reverse DNS names for various > RFC 1918 reserved IP addresses that I am using behind my firewall. For > example, I'd like to setup a PTR record for the address 10.0.0.7 or maybe > 192.168.0.7. WHY CAN'T I DO THIS? I have patterned everything I have done > after the instructions (from the Grasshopper book) that I used to setup the > reverse mapping for 127.0.0.1 and *that* seems to work OK. So why, oh why > can't I get the same thing to work in the case of 10.0.0.7? It's hard to guess what you might be doing wrong since there are obviously some problems with how you've set up the reverse mapping for localhost too. You could show us what you're doing. -- Kevin Street street@iname.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message