1.175 RHEL-09-252040

Information

RHEL 9 must configure a DNS processing mode in Network Manager.

GROUP ID: V-257949
RULE ID: SV-257949r1014841

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

Solution

Configure NetworkManager in RHEL 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.

$ sudo systemctl reload NetworkManager

See Also

https://workbench.cisecurity.org/benchmarks/22008

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-257949r1014841_rule, STIG-ID|RHEL-09-252040, Vuln-ID|V-257949

Plugin: Unix

Control ID: 94a3d5dca90169cf328b92a98a0443a3e1b9ae7732aa2f7168aedaaeedd40ef2