Rule version TOSS-05-000205 · STIG v1 · 2026-08-20
In order to ensure that DNS resolver settings are respected, a DNS mode in Network Manager must be configured.
Verify TOSS 5 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.
Configure NetworkManager in TOSS 5 to use a DNS mode.
In "/etc/NetworkManager/NetworkManager.conf" add the following line in the "[main]" section:
dns = none
Reload NetworkManager for the change to take effect.
$ sudo systemctl reload NetworkManager