BIND 9 syntax error near '<quoted string>'

Kevin Darcy kcd at daimlerchrysler.com
Fri Mar 23 22:07:48 UTC 2001


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