Tuesday, 1 January 2013
How to stop avahi-daemon from advertising on a network
Some people go to lengths to kill of the daemon all-together, but there are some things avahi-daemon does with can be beneficial, other than advertising services. Also killing off the avahi-daemon during runtime is difficult as alot of other things like talk to it.
All you need to do is modify the /etc/avahi/avahi-daemon.conf file.
uncomment and edit the line to read:
And then restart the service to make the changes stick
sudo service avahi-daemon restart
from the man page avahi-daemon.conf
disable-publishing= Takes a boolean value ("yes" or "no"). If set to "yes", no record will be published by Avahi, not even address records for the local host. Avahi will be started in a querying- only mode. Use this is a security measure. This option defaults to "no"
It's not all beer and skittles, clients looking for services on the host may throw up errors sometimes.