SV-272371r1156965_rule
V-272371
SRG-APP-000089-DNS-000004
BIND-9X-001110
CAT II
10
Configure the logging statement in the "named.conf" file:
logging {
channel <channel_name> {
file "<file_name>";
severity info;
print-time yes;
print-category yes;
print-severity yes;
};
category default { <channel_name>; };
};
Replace <channel_name> and <file_name> with names that distinctively identify the purpose of the channel and the log file.
Restart the BIND 9.x process.
Verify the name server is configured to generate audit records:
Inspect the "named.conf" file for the following:
logging {
channel channel_name {
severity info;
print-time yes;
print-category yes;
print-severity yes;
};
category default { channel_name; };
};
If there is no "logging" statement, this is a finding.
If the "logging" statement does not contain a "channel", this is a finding.
If the "logging" statement does not contain a "category" that uses a "channel", this is a finding.
V-272371
False
BIND-9X-001110
Verify the name server is configured to generate audit records:
Inspect the "named.conf" file for the following:
logging {
channel channel_name {
severity info;
print-time yes;
print-category yes;
print-severity yes;
};
category default { channel_name; };
};
If there is no "logging" statement, this is a finding.
If the "logging" statement does not contain a "channel", this is a finding.
If the "logging" statement does not contain a "category" that uses a "channel", this is a finding.
M
5687