logging - named.conf REL 8.2.4 (repost)
Barry Margolin
barmar at genuity.net
Mon Jul 16 14:59:49 UTC 2001
In article <9iutuo$39t at pub3.rc.vix.com>, js <jsilva at softhome.net> wrote:
>
>Hi,
>
>Can you please tell me what's wrong with this part of named.conf?
>The error message is just "syntax error near logging", "syntax error
>near category" and "syntax error near channel". The bind version is
>8.2.4.
This part of the config file looks OK. I suspect the problem is leading up
to it. Maybe you don't have enough close braces, so it thinks the
"logging" statement is a sub-statement of the preceding section.
>logging {
> channel syslog_channel {
> syslog daemon;
> severity info;
> };
> channel named_log {
> file "/var/log/dns/bind/named.log";
> severity dynamic;
> print-category yes;
> print-severity yes;
> };
> category default { syslog_channel; named_log; };
> category eventlib { named_log; };
> category packet { named_log; };
> category queries { named_log; };
> category statistics { named_log; };
>};
>
>Thanks in advance!
>
>--
>js
>
>
--
Barry Margolin, barmar at genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
More information about the bind-users
mailing list