syntax error
Mark.Andrews at nominum.com
Mark.Andrews at nominum.com
Mon Oct 30 03:27:57 UTC 2000
You are missing semi-colons.
e.g.
zone "xxxx" {
...
masters { 1.2.3.4; };
};
You have
zone "xxxx" {
...
masters { 1.2.3.4; }
};
Mark
>
> Hi,
>
> I am getting the following error messages when I run named (BIND).
>
> Oct 30 12:50:45 dixson named[6993]: starting. named 8.2.2-P5 Tue Jun 20
> 16:17:59 EST 2000
> Oct 30 12:50:45 dixson root at dixson:/mnt/bind-2.2/src/bin/named
> Oct 30 12:50:45 dixson named[6993]: /etc/named.conf:15: syntax error near '}'
> Oct 30 12:50:45 dixson named[6993]: /etc/named.conf:29: syntax error near '}'
> Oct 30 12:50:45 dixson named[6994]: Ready to answer queries.
>
> My config file is:
>
>
> options {
> directory "/var/domain";
> pid-file "/var/run/named.pid";
> forwarders {
> 203.12.176.130;
> };
> };
>
> zone "." {
> type hint;
> file "/etc/db.cache";
> };
>
> server 202.0.106.99 {
> };
>
>
>
> zone "slnsw.gov.au" {
> type slave;
> file "/var/domain/slnsw.gov.au.hosts";
> masters {202.0.106.99;}
> };
>
> zone "picturethesaurus.gov.au" {
> type slave;
> file "/var/domain/picturethesaurus.gov.au.hosts";
> masters {202.0.106.99;}
> };
>
> I can't figure out the syntax error. Any help would be appreciated.
>
> Thanks,
> Rajesh.
>
>
>
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at nominum.com
More information about the bind-users
mailing list