mdns-scan command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mdns-scan: command not found
or when using sudo you get the following error message
sudo: mdns-scan: command not found
Solutions to mdns-scan: command not found
How To Fix mdns-scan: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mdns-scan is provided by mdns-scan package.
mdns-scan is:
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.
mDNS/DNS-SD is part of Apple’s Zeroconf strategy (a.k.a. Bonjour). The avahi-daemon package is an implementation of mDNS/DNS-SD.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mdns-scan
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mdns-scan.
sudo apt -y install mdns-scan
Or if you have aptitude installed you can use the following command.
sudo aptitude install mdns-scan
Summary
In this tutorial we learn how to fix mdns-scan command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.