Expand description
resolvectl actions — DNS status and configuration via systemd-resolved.
Both actions are cross-distro: they work on any host running
systemd-resolved, including Fedora Atomic and Ubuntu. Registration in
KNOWN_ACTION_NAMES only (not DEBIAN_ONLY_ACTION_NAMES).
Functions§
- resolvectl_
set_ dns - Set DNS servers for a network interface (
sudo resolvectl dns <iface> <server>…). - resolvectl_
status - Show DNS resolution status for all network interfaces (
resolvectl status). - specs
- Return one representative
ActionSpecper action name.