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_V1R5_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: c3e1a6bea4eadfe766e340e4c5572ae27400d0444b2485f44d927b3105a3b6dd