From owner-freebsd-questions Tue Feb 25 5:42: 3 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA59C37B401 for ; Tue, 25 Feb 2003 05:42:01 -0800 (PST) Received: from catflap.home.slightlystrange.org (pc1-cmbg1-4-cust43.cmbg.cable.ntl.com [62.253.133.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44E2B43FAF for ; Tue, 25 Feb 2003 05:42:00 -0800 (PST) (envelope-from dan@slightlystrange.org) Received: from danielby by catflap.home.slightlystrange.org with local (Exim 3.36 #1) id 18nfLE-000OVY-00 for questions@freebsd.org; Tue, 25 Feb 2003 13:41:52 +0000 Date: Tue, 25 Feb 2003 13:41:52 +0000 From: Daniel Bye To: questions@freebsd.org Subject: Re: named error message in /var/log/messages Message-ID: <20030225134152.GA86369@catflap.home.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: questions@freebsd.org References: <3E5B6F4E.2050500@cinci.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E5B6F4E.2050500@cinci.rr.com> User-Agent: Mutt/1.4i X-Scanner: exiscan *18nfLE-000OVY-00*o5ktq/1Y04I* (SlightlyStrange.org, Using NOD32 http://www.nod32.com) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Feb 25, 2003 at 08:27:42AM -0500, Mike B wrote: > In my /var/log/messages I keep getting this output from named > > Feb 25 08:20:18 dynedyne named[48482]: starting (/etc/namedb/named.conf) > Feb 25 08:20:18 dynedyne named[48482]: limit files set to fdlimit (1024) > Feb 25 08:20:18 dynedyne named[48482]: /etc/namedb/named.conf:5: syntax > error near zone > Feb 25 08:20:18 dynedyne named[26498]: Ready to answer queries. > > here is what my named.conf looks like > > options { > directory "/etc/namedb"; > } > > zone "." in { > type hint; > file "named.root"; > }; > > zone "0.0.127.IN-ADDR.ARPA" in { > type master; > file "localhost.rev"; > }; > > zone > "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT" > in { > type master; > file "localhost-v6.rev"; > }; > > I've tried changing the 'zone "." in {' to alleviate the problem but I > can't seem to fix it. The name server is running properly and responds > to queries but the error message is bothersome and I'd like to get rid > of it. I reinstalled bind from ports just to make sure everything was up > to date too. Thanks for the help. You haven't terminated the options block correctly - it needs a semicolon after the closing brace. That should see off the errors. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message