FW: BIND 9 syntax error near '<quoted string>'

Przybycien, John JPrzybyc at ida.org
Mon Mar 26 13:47:44 UTC 2001


Yes I'm specifying the configuration file from the command line and my
nameservice is actually using "/etc/name.conf".  As stated in my original
message, if I change the order of the options I get a different error based
on the contents of line two.  So I know the service is using my name.conf
file.  The oddity is that I can never get beyond line two.  This is the
first BIND version to ever give me a syntax error where non exist (as far as
I can see).  I even used named-checkconf before I began and it found no
errors.

JP

-----Original Message-----
From: Kevin Darcy [mailto:kcd at daimlerchrysler.com]
Sent: Friday, March 23, 2001 5:08 PM
To: 'bind-users at isc.org'
Subject: Re: BIND 9 syntax error near '<quoted string>'



Are you specifying your config file on the command line? The default
configuration file is "/etc/named.conf" (with a "d"). Verify which config
file
your nameserver is actually using.


- Kevin

Przybycien, John wrote:

> I'm running BIND 9.1.1rc4 on a Sun with Solaris 8
> and receive the following in /var/adm/messages.
>
> /etc/name.conf:2:  syntax error near '<quoted string>'
> rndc: /etc/name.conf: failure
>
> Here's the first few lines of name.conf:
>
> options {
>            directory "/etc";
>            allow-transfer { none; };
>            auth-nxdomain yes;
>            };
>
> I've tried recreating the name.conf file, using spaces instead of tabs to
> indent,
> changing the order of the options, etc.  BTW, changing the order always
> returns
> an error with /etc/name.conf:2:  The following is returned if I switch
lines
> 2 and 3:
>
> /etc/name.conf:2:  syntax error near '{'
> rndc: /etc/name.conf: failure
>
> Any ideas?
>
> Thanks in advance,
>
> JP





More information about the bind-users mailing list