Enabling the .local domain in Ubuntu
Now that systemd-resolved + netplan are the default networking setup in Ubuntu systems, enabling this is super easy:
# in /etc/systemd/resolved.conf
MulticastDNS=yes
This used to be painful in the past—you’d have to mess with avahi-daemon.
Then:
sudo resolvectl mdns wlp0s20f3 yes