Contents
What is an avahi daemon?
The avahi-daemon Linux service runs on client machines to perform network-based Zeroconf service discovery. Avahi is an implementation of the DNS Service Discovery and Multicast DNS specifications for Zeroconf Networking. The daemon coordinates application efforts in caching replies, helping minimize network traffic.
Why do I need avahi daemon?
Generally, Avahi is only useful in small local networks (such as a home LAN). The avahi-daemon process handles mDNS, which is used for name resolution and service discovery within the local network. If you don’t need its functions, Avahi can be safely removed.
How can we stop avahi daemon?
Disable the Avahi Daemon
- Edit the /etc/default/ avahi-daemon file: sudo gedit /etc/default/avahi-daemon. Change the line: AVAHI_DAEMON_START = 1. to: AVAHI_DAEMON_START = 0.
- Reboot your system.
- Note: The command sudo update-rc. d-f avahi-daemon remove is not enough to disable the Avahi Daemon.
What is avahi service?
Avahi is a system which enables programs to publish and discover services and hosts running on a local network. For example, a user can plug a computer into a network and have Avahi automatically advertise the network services running on its machine, facilitating user access to those services.
What is the Avahi-daemon service and can it be disabled?
Avahi-daemon facilitates the sharing of printers, files, media libraries and other resources on a local network. If you don’t want Avahi-daemon running on your system, you can disable it from the graphical services administration tool, or using the service administration commands that come with CentOS.
How does Avahi-dnsconfd connect to a running Avahi daemon?
avahi-dnsconfd connects to a running avahi-daemon and runs the script /etc/avahi/dnsconfd.action for each unicast DNS server that is announced on the local LAN. This is useful for configuring unicast DNS servers in a DHCP-like fashion with mDNS.
What is the purpose of the Avahi daemon?
In short: avahi is a Linux implementation of a protocol also known as “Rendezvous” or “Bonjour”). Its goal is to let devices, conected to the local network, to broadcast their IP-address together with their function .
Do you drop root privileges after starting Avahi daemon?
Don’t drop root privileges after startup and don’t require daemon to be started as root. We recommend not to use this option. Don’t chroot (2) the daemon. This option is only available when compiled with chroot () support. Don’t change the process name while running.
Why does Linux have Avahi user ( fictive )?
But if you run a cups-broadcast daemon, it will start the avahi itself. Linux uses fictive users usualy for security reasons, not to give the attacker any chance to hack a process own by root. So you can see a postfix or mail, and postgres or mysql users.