Avahi Aliases!
Do this:
Install and setup
sudo ./install.sh
#add aliases to /etc/avahi/aliases
sudo avahi-publish-aliases
Uninstall
sudo ./uninstall.sh
systemd
Included is an installer for a systemd service.
sudo ./install-systemd
sudo systemctl <start|stop|restart> avahi-alias.serivce
Fedora 13+
Requires dbus-python, avahi-ui-tools Python bindings seem to have been in avahi-tools pre F13 and have been moved.
Ubuntu 10+
Requires python-dbus, python-avahi