I've installed KDE desktop, that depends on avahi. It has two daemons
Here's the description from debian's avahi-dnsconfd package:
Package: avahi-dnsconfd Description-en: Avahi DNS configuration tool Avahi is a fully LGPL framework for Multicast DNS Service Discovery. It allows programs to publish and discover services and hosts running on a local network with no specific configuration. For example you can plug into a network and instantly find printers to print to, files to look at and people to talk to. . This tool listens on the network for announced DNS servers and passes them to resolvconf so it can use them. This is very useful on autoconfigured IPv6 networks. Homepage: http://avahi.org/
More info should be available at the Avahi home page.
avahi-dnsconfd is a simple daemon which queries avahi-daemon for addresses of DNS servers. Based on the response it then updates
/etc/resolv.conf file. Basically:
- Upon starting it sends "BROWSE-DNS-SERVERS" request to
/var/run/avahi-daemon/socket. Equivalent to:
$ echo 'BROWSE-DNS-SERVERS-IPV4' | nc -U /var/run/avahi-daemon/socket
- Waits for the response/update from
avahi-daemonon the socket. The response string will look something like this:
> 3 1 220.127.116.11 53 > 3 1 18.104.22.168 53 > 3 0 22.214.171.124 53 > 3 0 126.96.36.199 53
- column 1 indicates new server (>) or server that has been removed (<)
- column 2 is a numerical network interface ID
- column 3 is a numerical protocol ID (1=IPv6, 0=IPv4)
- columns 4 and 5 are the address and port number of the DNS server
- For each line of the above response/update, executes
/etc/avahi/dnsconfd.actionscript. This script updates
- GOTO 2.
For this to work, you need to set
avahi-dnsconfd daemon is normally not used. Often,
/etc/resolv.conf file is populated by a DHCP client which obtains DNS addresses from a DHCP Server.