Hi Esko, thanks for your reply.
1. How can I prevent avahi-daemon from publishing a domain based on my
hostname? Currently e.g. if my host is named "myhost" it publishes a
dom1ain "myhost.local". I tried `publish-domain=no` but it doesn't
seem to have any effect.
>
For 1.: for this the option "host-name=my-custom-name" can be used. The
domain name shouldn't be changed typically, I think, as mDNS requires
the "local" domain. Then the full advertised hostname for host address
records becomes "my-custom-name.local".
https://manpages.debian.org/trixie/avahi-daemon/avahi-daemon.conf.5.en.html
I want to prevent avahi-daemon from auto-publishing from publishing a
domain based on my host name entirely.
Your proposal changes it to a different host name.