Installing Bonjour support on your Raspberry Pi

Connect to your Raspberry Pi via SSH (or use a display/keyboard). Once at the terminal update/upgrade the system:

sudo apt-get update
sudo apt-get upgrade

After the update/upgrade process is complete, install the Avahi mDNS implementation.

sudo apt-get install avahi-daemon

There is no need to restart the Raspberry Pi once the installation process is complete. The Raspberry Pi should begin to immediately resolve local network queries for its hostname e.g., hostname.local.

To test it, ping the Raspberry Pi from another computer with Bonjour support.

[Bonjour] (https://www.apple.com/support/bonjour/)
[Avahi] (http://www.avahi.org)