OL 9 must configure a DNS processing mode set be Network Manager.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-271860 | OL09-00-006002 | SV-271860r1092292_rule | CCI-000366 | medium |
| Description | ||||
| To ensure that DNS resolver settings are respected, a DNS mode in Network Manager must be configured. | ||||
| STIG | Date | |||
| Oracle Linux 9 Security Technical Implementation Guide | 2025-05-08 | |||
Details
Check Text (C-271860r1092292_chk)
Verify that OL 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 "none" or "default", this is a finding.
Fix Text (F-75817r1092291_fix)
Configure NetworkManager in OL 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