STIGUI
V-281338CAT II — Medium severitySV-281338r1167164_rule

RHEL 10 must have at least two name servers configured for systems using Domain Name Server (DNS) resolution.

Rule version RHEL-10-800060 · STIG v1 · 2026-09-17

Discussion

To provide availability for name resolution services, multiple redundant name servers are mandated. A failure in name resolution could lead to the failure of security functions requiring name resolution, which may include time synchronization, centralized authentication, and remote system logging.

Check

Note: If the system is running in a cloud platform and the cloud provider gives a single, highly available IP address for DNS configuration, this control is not applicable.

Verify RHEL 10 has at least two name servers configured for systems using DNS resolution.

Verify the name servers used by the system with the following command:

$ sudo grep nameserver /etc/resolv.conf nameserver 192.168.1.2 nameserver 192.168.1.3

If fewer than two lines are returned that are not commented out, this is a finding.

Fix

Configure RHEL 10 to use two or more name servers for DNS resolution based on the DNS mode of the system.

If the NetworkManager DNS mode is set to "none", add the following lines to "/etc/resolv.conf":

nameserver [name server 1] nameserver [name server 2]

Replace [name server 1] and [name server 2] with the IPs of two different DNS resolvers.

If the NetworkManager DNS mode is set to "default", add two DNS servers to a NetworkManager connection using the following command:

$ nmcli connection modify [connection name] ipv4.dns [name server 1],[name server 2]

Replace [name server 1] and [name server 2] with the IPs of two different DNS resolvers.

Replace [connection name] with a valid NetworkManager connection name on the system.

Replace ipv4 with ipv6 if IPv6 DNS servers are used.

Identifiers

Group ID
V-281338
Group title
SRG-OS-000420-GPOS-00186
Rule ID
SV-281338r1167164_rule
Check ID
C-85899r1167162_chk
Fix ID
F-85804r1167163_fix