DNS Configuration and Management Manual (G06.27+, H06.05+, J06.03+)

Troubleshooting
HP DNS Configuration and Management Manual529432-003
5-4
Logging in DNS
The name server can be instructed to enable this feature by specifying the logging
statement in the named.conf file.
Example 5-2
shows a statement in the named.conf file.
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 5-1. Logging Categories to Channels
Example 5-2. Logging Statement in named.conf File
logging
{
channel my_ems
{
syslog demon;
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
vst001.vsd