Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Nov 1999 12:04:15 -0500
From:      Greg Lehey <grog@mojave.sitaranetworks.com>
To:        larry <larry@compwebtech.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Need Help with my named.conf
Message-ID:  <19991103120415.45602@mojave.sitaranetworks.com>
In-Reply-To: <NCBBJDBDCLGCFFEMDDEGEEDBCIAA.larry@compwebtech.com>; from larry on Tue, Nov 02, 1999 at 11:44:32PM -0800
References:  <NCBBJDBDCLGCFFEMDDEGEEDBCIAA.larry@compwebtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday,  2 November 1999 at 23:44:32 -0800, larry wrote:
> Emergency...
>
> I have just "rm named.conf" by accident.. I have tried to rebuild it, but am
> having problems writing it.  For some reason I can get rev DNS to work... My
> named.conf file is located in the /etc/namedb/ and I host about 200 or so
> domains. my secure sites are not working for some reason.. Could someone
> help me!!! Please email me at larry@malibusurfing.com .. Thanks in
> advance... Larry
>
> (example of my file)
>
> <snip>

> zone ".7372" {
>         type master;
>        file ".7372";
> };

What's this for?

> zone "103.2.216.in-addr.arpa" {
>         type master;
>         file "localhost.rev";
> };

This looks wrong.  What I have is:

zone "197.109.192.in-addr.arpa" {
        type master;
        file "lemishosts.reverse";
};

zone "0.0.127.in-addr.arpa" {
        type master;
        file "localhost.reverse";
};

The first is the reverse lookup for my domain, which is what you seem
to be missing.  localhost.rev[erse] is typically the name for the
reverse lookup file for 127.0.0.1.  I'd guess that this is your
problem.  If you've only removed named.conf, you should find a reverse
domain file in the directory; just do something like my example.

This is all described in much more detail in "The Complete FreeBSD".

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers


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?19991103120415.45602>