Syntax error on bind 8 named.conf file
Stefan Wills
stefan4096 at my-deja.com
Thu May 4 15:08:44 UTC 2000
I get the following message when I reload DNS (Bind 8.8.2-P5 on Solaris
2.6)
********************************************************
May 4 02:34:52 protector named[14925]: starting. named 8.2.2-P5 Sat
Apr 29 13:03:11 EDT 2000
May 4 02:34:52 protector root at protector:/tmp/src/bin/named
May 4 02:34:53 protector named[14925]: /usr/local/etc/named.conf:158:
syntax error near channel
May 4 02:34:53 protector named[14926]: Ready to answer queries.
*********************************************************
This is the section that give me the error:
*********************************************************
zone "86.150.150.IN-ADDR.ARPA" {
type slave;
file "sec/sec.150.150.86";
masters { 150.150.12.90; };
};
//
// Logging channels
// Specifies the information the server logs and the destination of log
messages
//
channel default_syslog {
syslog daemon; //send to syslog's daemon facility
severity info; // only priority info and higher
// possible syslog channels: kern user
mail daemon auth
// syslog lpr news uucp cron authpriv
ftp local0 - local7
};
channel default_debug {
file "named.run"; //write to named.run in the
// working directory
severity dynamic; // log at the server's current debug
level
};
*********************************************************
Line 151 is the "syslog daemon;" in the the first channel definition.
I am unable to see what the error is. It appears probably to be one
ofe the lines prior as when I comment out this section the error then
goes to line 158 which is the line following "channel default_debug ..."
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the bind-users
mailing list