The Hotel Hero

Notes by a Sysadmin

Cluster | Philosophy | Stack

Ubuntu for Pi (arm) mDNS

March 18, 2021 | Stack

Resently I experienced that my pi's with an ubuntu install did'nt resolve in my routers DNS server. The following mDNS install on the pi will solve that problem.

sudo hostnamectl set-hostname [your-pi-name]

 followed by:

sudo apt install avahi-daemon

and a restart of the daemon:

sudo service avahi-daemon restart


I'm a Sysadmin, network manager and cyber security entusiast. The main purpose of this public "notebook" is for referencing repetitive tasks, but it might as well come in handy to others. Windows can not be supported! But all other OS compliant with the POSIX-standard can (with minor adjustments) apply the configs on the site. It is Mac OSX, RHEL and all the Fedora based distros and Debian based (several 100's of OS's), all the BSD distros, Solaris, AIX and HP-UX.