DNS Configuration and Management Manual (G06.25+, H06.03+)

Troubleshooting
HP DNS Configuration and Management Manual529432-001
4-4
Logging in DNS 9.2.3
The Name Server can be instructed to enable this feature by specifying the logging
statement in the named.conf file.
An example statement in the named.conf file is:
In this example, two channels have been defined:
my_ems instructs the Name Server to send logging data to the Event Management
System (EMS)
my_file instructs the Name Server to send logging data to the file mylog.log
Similarly, two categories have been defined:
Figure 4-1. Logging Categories to Channels
Example 4-2. Logging Statement in named.conf File
logging
{
channel my_ems
{
syslog daemon;
severity info;
};
channel my_file
{
file "mylog.log";
severity dynamic;
};
category statistics { my_ems; my_file; };
category queries { my_file; };
};
statistics category syslog channel
queries category log_file channel