From owner-freebsd-questions Wed Nov 3 9: 4:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by hub.freebsd.org (Postfix) with ESMTP id 6857315103 for ; Wed, 3 Nov 1999 09:04:19 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991103120415.45602@mojave.sitaranetworks.com> Date: Wed, 3 Nov 1999 12:04:15 -0500 From: Greg Lehey To: larry , freebsd-questions@FreeBSD.ORG Subject: Re: Need Help with my named.conf Reply-To: Greg Lehey References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from larry on Tue, Nov 02, 1999 at 11:44:32PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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) > > > 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