logging - named.conf REL 8.2.4 (repost)

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Mon Jul 16 14:52:46 UTC 2001


	Your most probably using logging where it is not allowed
	or you have a error immediately before the word logging.
	'logging' must be at the outer most level.

	Mark

> 
> 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.
> 
> 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
> 
--
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