Rule ID
SV-272431r1123606_rule
Version
V3R2
CCIs
CCI-001348
DNS software administrators require DNS transaction logs for a wide variety of reasons including troubleshooting, intrusion detection, and forensics. Ensuring that the DNS transaction logs are recorded on the local system will provide the capability needed to support these actions.
Verify that the BIND 9.x server is configured to send audit logs to a local log file.
Note: syslog and local file channel must be defined for every defined category.
Inspect the "named.conf" file for the following:
logging {
channel local_file_channel {
file "path_name" versions 3;
print-time yes;
print-severity yes;
print-category yes;
};
category category_name { local_file_channel; };
If a logging channel is not defined for a local file, this is a finding.
If a category is not defined to send messages to the local file channel, this is a finding.Edit the "named.conf" file and add the following:
logging {
channel local_file_channel {
file "path_name" versions 3;
print-time yes;
print-severity yes;
print-category yes;
};
category category_name { local_file_channel; };
};
Restart the BIND 9.x process.