AlmaLinux OS 9 must configure a DNS processing mode set be Network Manager.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-269288 | ALMA-09-023560 | SV-269288r1050170_rule | CCI-000366 | medium |
| Description | ||||
| To ensure that DNS resolver settings are respected, a DNS mode in Network Manager must be configured. | ||||
| STIG | Date | |||
| CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide | 2025-05-22 | |||
Details
Check Text (C-269288r1050170_chk)
Note: If AlmaLinux OS 9 is configured to use a DNS resolver other than Network Manager, the configuration must be documented and approved by the information system security officer (ISSO).
Verify that AlmaLinux OS 9 has a DNS mode configured in Network Manager.
$ NetworkManager --print-config
[main]
dns=none
If the "dns" key in the [main] section does not exist or is not set to "none" or "default", this is a finding.
Fix Text (F-73220r1049448_fix)
Configure NetworkManager in AlmaLinux OS 9 to use a DNS mode.
In "/etc/NetworkManager/NetworkManager.conf" add the following line in the "[main]" section:
dns = none
NetworkManager must be reloaded for the change to take effect.
$ systemctl reload NetworkManager