SV-281362r1167236_rule
V-281362
SRG-OS-000420-GPOS-00186
RHEL-10-800300
CAT II
10
Configure RHEL 10 to use a DNS mode in Network Manager.
In "/etc/NetworkManager/NetworkManager.conf", add the following line in the "[main]" section:
dns = none
Where <dns processing mode> is default, none, or systemd-resolved.
Network Manager must be reloaded for the change to take effect:
$ sudo systemctl reload NetworkManager
Verify RHEL 10 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 set to "dnsmasq", this is a finding.
Note: If RHEL 10 is configured to use a DNS resolver other than Network Manager, the configuration must be documented and approved by the information system security officer.
V-281362
False
RHEL-10-800300
Verify RHEL 10 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 set to "dnsmasq", this is a finding.
Note: If RHEL 10 is configured to use a DNS resolver other than Network Manager, the configuration must be documented and approved by the information system security officer.
M
5733