Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2003 13:41:52 +0000
From:      Daniel Bye <dan@slightlystrange.org>
To:        questions@freebsd.org
Subject:   Re: named error message in /var/log/messages
Message-ID:  <20030225134152.GA86369@catflap.home.slightlystrange.org>
In-Reply-To: <3E5B6F4E.2050500@cinci.rr.com>
References:  <3E5B6F4E.2050500@cinci.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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