Help with syntax error in named.conf

Josh Higham bindadmin at bigsky.net
Fri Sep 15 20:28:55 UTC 2000


>The following are the options entries in the /etc/named.conf file. The
>syslog shown below indicates a syntax error. I can't figure out what is
>wrong. Any idea?


logging needs to be on its own, not under options:

options {
[...]
}

logging {
[...]
}

Josh
>
>Thanks,
>Ali
>
>options {
>        directory "/var/named";
>        pid-file "/usr/local/etc/named.pid";
>        multiple-cnames yes;
>        query-source address * port 53;
>        logging {
>                channel chatty { syslog daemon; serverity debug; };
>                category config { chatty; };
>                category load { chatty; };
>                category parser { chatty; };
>        };
>};
>
>
>Sep 15 12:05:46 alcatraz named[108]: reloading nameserver
>Sep 15 12:05:46 alcatraz named[108]: /usr/local/etc/named.conf:6: syntax
>error near logging
>Sep 15 12:05:46 alcatraz named[108]: /usr/local/etc/named.conf:8: syntax
>error near category
>Sep 15 12:05:47 alcatraz named[108]: Ready to answer queries.
>
>




More information about the bind-users mailing list