Host services
resolvectl dns <iface> <server-ip>
Point this host's resolver at a DNS server (a DHCP lease with dns-server does the same). 'resolvectl status' shows it.
Works on: PC, Server, Printer, NASMode: shell
Example
PC1# resolvectl dns Eth0 10.0.0.5Run this command live
Don't just read it — type resolvectl dns <iface> <server-ip> in a real network simulator in your browser and watch it take effect. No install, no account needed to start.
Frequently asked
What does the "resolvectl dns <iface> <server-ip>" command do?
Point this host's resolver at a DNS server (a DHCP lease with dns-server does the same). 'resolvectl status' shows it.
Example of "resolvectl dns <iface> <server-ip>"
PC1# resolvectl dns Eth0 10.0.0.5