sudo systemctl enable --now avahi-daemon

Category: Local Network & Public Hosting

sudo systemctl enable --now avahi-daemon

Start the mDNS responder at boot

The avahi-daemon service answers and sends multicast DNS announcements, which is what makes .local hostnames and avahi-browse discovery work at all. enable --now both starts the service immediately and registers it to start on every boot. Check it with systemctl status avahi-daemon if .local lookups fail.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.