How To Install mdns-repeater on CentOS 7

In this tutorial we learn how to install mdns-repeater on CentOS 7. mdns-repeater is Multicast DNS repeater

Introduction

In this tutorial we learn how to install mdns-repeater on CentOS 7.

What is mdns-repeater

mdns-repeater is a Multicast DNS repeater for Linux. Multicast DNS uses the 224.0.0.51 address, which is “administratively scoped” and does not leave the subnet. This program re-broadcasts mDNS packets from one interface to other interfaces.

We can use yum or dnf to install mdns-repeater on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install mdns-repeater.

Install mdns-repeater on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install mdns-repeater

Install mdns-repeater on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install mdns-repeater

How To Uninstall mdns-repeater on CentOS 7

To uninstall only the mdns-repeater package we can use the following command:

sudo dnf remove mdns-repeater

References

Summary

In this tutorial we learn how to install mdns-repeater on CentOS 7 using yum and dnf.