Question 150
You have attempted this task on a disposable RHEL10 training node: A host resolves internal names through an obsolete DNS server even though its IPv4 address is correct. Which command output or observation best confirms its success?
Explanation
Correct Answer
`nmcli dev show` and `getent hosts server.lab` show the approved DNS servers and expected name resolution. This check confirms the expected effect of: Configure the desired resolver addresses using `nmcli con mod lablan ipv4.dns '192.0.2.53 192.0.2.54'` and review `ipv4.ignore-auto-dns`. It distinguishes the intended result from the original failure mechanism: IP address assignment and resolver configuration are independent network settings.
Incorrect Answers
`ip -6 addr show` lists the address and a local IPv6 connectivity test succeeds. That verifies a separate lab task: An IPv6-only lab application cannot listen because the host connection has no configured static IPv6 address. It does not validate the implementation required here: Configure the desired resolver addresses using `nmcli con mod lablan ipv4.dns '192.0.2.53 192.0.2.54'` and review `ipv4.ignore-auto-dns`.
The listener remains available after a controlled reboot and `systemctl is-enabled httpd` reports enabled. That verifies a separate lab task: A web service must start after every reboot, but `ss -tln` shows its listener only after manual execution. It does not validate the implementation required here: Configure the desired resolver addresses using `nmcli con mod lablan ipv4.dns '192.0.2.53 192.0.2.54'` and review `ipv4.ignore-auto-dns`.
`nmcli -g connection.autoconnect connection show lablan` returns yes and `nmcli connection show --active` lists it after reboot. That verifies a separate lab task: A NetworkManager profile is stored on disk but is not automatically activated after reboot. It does not validate the implementation required here: Configure the desired resolver addresses using `nmcli con mod lablan ipv4.dns '192.0.2.53 192.0.2.54'` and review `ipv4.ignore-auto-dns`.