Seems to create a new service in /etc/avahi/services/, but not a new hostname, e.g. "foo.teefour.local" like I want.
After some trial and error, I figured out: avahi-publish -a -R foo.teefour.local 192.168.1.25 and I guess I could put this in /etc/systemd/system but I hoped I could define this stuff simply in /etc/avahi/services/ Figuring out one's IP address is a PITA for example. I have now stumbled upon https://github.com/lathiat/avahi/issues/40 and https://gist.github.com/gdamjan/3168336 Also: https://github.com/airtonix/avahi-aliases & https://github.com/jinnko/avahi-alias/blob/master/avahi-alias There also seems to be references to http://www.avahi.org/wiki/Examples/PythonPublishAlias which is 404 now. Still I hoped this would be simpler. What a mess. Why isn't this feature easier to use from Avahi?! _______________________________________________ avahi mailing list avahi@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/avahi