SV-257949r1134947_rule
V-257949
SRG-OS-000480-GPOS-00227
RHEL-09-252040
CAT II
10
Configure NetworkManager in RHEL 9 to use a DNS mode.
In "/etc/NetworkManager/NetworkManager.conf", add the following line in the "[main]" section:
dns = <dns processing mode>
Where <dns processing mode> is default, none, or systemd-resolved.
NetworkManager must be reloaded for the change to take effect.
$ sudo systemctl reload NetworkManager
Verify that RHEL 9 has a DNS mode configured in Network Manager.
$ NetworkManager --print-config
[main]
dns=none
If the dns key under main does not exist or is not set to "default", "none", or "systemd-resolved", this is a finding.
Note: If RHEL 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).
V-257949
False
RHEL-09-252040
Verify that RHEL 9 has a DNS mode configured in Network Manager.
$ NetworkManager --print-config
[main]
dns=none
If the dns key under main does not exist or is not set to "default", "none", or "systemd-resolved", this is a finding.
Note: If RHEL 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).
M
5551