ALMA-09-023560 - AlmaLinux OS 9 must configure a DNS processing mode set be Network Manager.

Information

To ensure that DNS resolver settings are respected, a DNS mode in Network Manager must be configured.

Solution

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CL_AlmaLinux_OS_9_V1R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-269288r1050170_rule, STIG-ID|ALMA-09-023560, Vuln-ID|V-269288

Plugin: Unix

Control ID: f79a50bb6a4668c82521f3d88aba0cb8ffd8dd77aaeb2551b9818bd2ff589be4