How To Install mdns-scan on Rocky Linux 8

In this tutorial we learn how to install mdns-scan on Rocky Linux 8. mdns-scan is Scan for mDNS/DNS-SD services published on the local network

Introduction

In this tutorial we learn how to install mdns-scan on Rocky Linux 8.

What is mdns-scan

mdns-scan is a tool for scanning for mDNS/DNS-SD services published on the local network. It works by issuing a mDNS PTR query to the special RR _services._dns-sd._udp.local for retrieving a list of all currently registered services on the local link.

We can use yum or dnf to install mdns-scan on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mdns-scan.

Install mdns-scan on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install mdns-scan

Install mdns-scan on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install mdns-scan

How To Uninstall mdns-scan on Rocky Linux 8

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

sudo dnf remove mdns-scan

mdns-scan Package Contents on Rocky Linux 8

/usr/bin/mdns-scan
/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/b6d54ebf949d47b1ac2c42a8149230bd9e7acd
/usr/share/doc/mdns-scan
/usr/share/doc/mdns-scan/README
/usr/share/licenses/mdns-scan
/usr/share/licenses/mdns-scan/LICENSE
/usr/share/man/man1/mdns-scan.1.gz

References

Summary

In this tutorial we learn how to install mdns-scan on Rocky Linux 8 using yum and dnf.