Technical data

Configuring and Managing BIND
5.3 Configuring the BIND Server (BIND 8.1)
C++ style comments that start with // and continue to the end of the physical
line
Shell or Perl-style comments that start with # and continue to the end of the
physical line
Important
In a zone file, comments start with a semicolon (;). Do not use the
semicolon as a comment character in your configuration file. The
semicolon indicates the end of a configuration statement, so whatever
follows is interpreted as the start of the next statement.
5.3.1 BIND Configuration Logging Statement
The logging statement configures a wide variety of logging options for the name
server. Its channel phrase associates output methods, format options, and
severity levels with a name that can then be used with the category phrase to
select how various classes of messages are logged. The logging statement has the
following syntax:
logging {
[ channel channel_name {
( file path_name
[ versions ( number | unlimited ) ]
[ size size_spec ]
| syslog ( kern | user | mail | daemon | auth | syslog | lpr |
news | uucp | cron | authpriv | ftp |
local0 | local1 | local2 | local3 |
local4 | local5 | local6 | local7 )
| null;
[ severity ( critical | error | warning | notice |
info | debug [ level ] | dynamic ); ]
[ print-category yes_or_no; ]
[ print-severity yes_or_no; ]
[ print-time yes_or_no; ]
}; ]
[ category category_name {
channel_name; [ channel_name; ... ]
}; ]
...
};
Only one logging statement is used to define as many channels and categories
as you want. If there are multiple logging statements in a configuration file, the
first one that is defined determines the logging, and warnings are issued for the
others. If there is no logging statement, the logging configuration is:
logging {
category default { default_syslog; default_debug; };
category panic { default_syslog; default_stderr; };
category packet { default_debug; };
category eventlib { default_debug; };
};
All logged statements channeled to
syslog
facilities are directed to the
TCPIP$BIND_RUN.LOG file.
Configuring and Managing BIND 5–7