How To Install avahi-dnsconfd.x86_64 on Amazon Linux 2

In this tutorial we learn how to install avahi-dnsconfd.x86_64 in Amazon Linux 2. avahi-dnsconfd.x86_64 is Configure local unicast DNS settings based on information

Introduction

In this tutorial we learn how to install avahi-dnsconfd.x86_64 on Amazon Linux 2.

What is avahi-dnsconfd.x86_64

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 to install avahi-dnsconfd.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install avahi-dnsconfd.x86_64.

Install avahi-dnsconfd.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install avahi-dnsconfd.x86_64

How To Uninstall avahi-dnsconfd.x86_64 on Amazon Linux 2

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

sudo yum remove avahi-dnsconfd.x86_64

avahi-dnsconfd.x86_64 Package Contents on Amazon Linux 2

/etc/avahi/avahi-dnsconfd.action
/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.x86_64 on Amazon Linux 2 using yum.