I've installed KDE desktop, that depends on avahi. It has two daemons avahi-daemon
and avahi-dnsconfd
.
In ArchLinux wiki there is no info about avahi-dnsconfd
. I've tried Daemon and Avahi pages.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityHere'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:
avahi-daemon
via /var/run/avahi-daemon/socket
. Equivalent to:
$ echo 'BROWSE-DNS-SERVERS-IPV4' | nc -U /var/run/avahi-daemon/socket
avahi-daemon
on the socket. The response string will look something like this:
> 3 1 194.168.8.100 53
> 3 1 194.168.4.100 53
> 3 0 194.168.8.100 53
> 3 0 194.168.4.100 53
/etc/avahi/dnsconfd.action
script. This script updates /etc/resolv.conf
fileFor this to work, you need to set publish-resolv-conf-dns-servers=yes
in /etc/avahi/avahi-daemon.conf
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.