How To Install avahi-dnsconfd on Fedora 36

In this tutorial we learn how to install avahi-dnsconfd in Fedora 36. avahi-dnsconfd is Configure local unicast DNS settings based on information published in mDNS

Introduction

In this tutorial we learn how to install avahi-dnsconfd on Fedora 36.

What is avahi-dnsconfd

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.

We can use yum or dnf to install avahi-dnsconfd on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install avahi-dnsconfd.

Install avahi-dnsconfd on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install avahi-dnsconfd using dnf by running the following command:

sudo dnf -y install avahi-dnsconfd

Install avahi-dnsconfd on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install avahi-dnsconfd using yum by running the following command:

sudo yum -y install avahi-dnsconfd

How To Uninstall avahi-dnsconfd on Fedora 36

To uninstall only the avahi-dnsconfd package we can use the following command:

sudo dnf remove avahi-dnsconfd

avahi-dnsconfd Package Contents on Fedora 36

/etc/avahi/avahi-dnsconfd.action
/usr/lib/.build-id
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/2ebae0ce3c130334e4231fcfddf3a76eb22175
/usr/lib/systemd/system/avahi-dnsconfd.service
/usr/sbin/avahi-dnsconfd
/usr/share/man/man8/avahi-dnsconfd.8.gz
/usr/share/man/man8/avahi-dnsconfd.action.8.gz

References

Summary

In this tutorial we learn how to install avahi-dnsconfd on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).