System Management

A profile named office-lan already exists and is active on ens192. An administrator changes its DNS server with the command nmcli connection modify office-lan ipv4.dns 10.0.0.53. The change is saved, but the running system still resolves names with the old DNS server. Which action applies the change with the least disruption to other connections?

Show the answer

Correct answerD. Run nmcli connection up office-lan to reapply the profile

nmcli connection modify only edits the stored profile; activating it again with connection up applies the new settings to ens192 only. A reload rereads profile files from disk but does not reapply them to an active device, so it is tempting yet insufficient. Toggling networking disrupts every connection.