Skip site navigation (1)Skip section navigation (2)
Date:      31 Oct 1999 10:06:16 -0500
From:      Kevin Street <street@iname.com>
To:        "Ronald F. Guilmette" <rfg@monkeys.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: BIND (8.1.2) reverse mapping for RFC 1918 addresses? - Please Help
Message-ID:  <8766zna7tj.fsf@mired.eh.local>
In-Reply-To: "Ronald F. Guilmette"'s message of "Sun, 31 Oct 1999 00:33:08 -0700"
References:  <6976.941355188@segfault.monkeys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Ronald F. Guilmette" <rfg@monkeys.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8766zna7tj.fsf>