This is a compilation/cleanup of various Avahi mDNS aliasing scripts to ensure they run on Debian buster
on the Raspberry Pi as of 2020, so as to make it easier to run several virtual hosts in piku
make install
You can edit /etc/avahi/aliases
(all aliases in a single line or groups of aliases per line) and restart the service or use the bundled scripts:
sudo avahi-add-alias foobar.local