How To Install massdns on Kali Linux
Introduction
In this tutorial we learn how to install massdns on Kali Linux.
What is massdns
massdns is:
This package contains a simple high-performance DNS stub resolver targeting those who seek to resolve a massive amount of domain names in the order of millions or even billions. Without special configuration, MassDNS is capable of resolving over 350,000 names per second using publicly available resolvers.
There are three methods to install massdns on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install massdns Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install massdns using apt-get by running the following command:
sudo apt-get -y install massdnsInstall massdns Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install massdns using apt by running the following command:
sudo apt -y install massdnsInstall massdns Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install massdns using aptitude by running the following command:
sudo aptitude -y install massdnsHow To Uninstall massdns on Kali Linux
To uninstall only the massdns package we can use the following command:
sudo apt-get remove massdnsUninstall massdns And Its Dependencies
To uninstall massdns and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove massdnsRemove massdns Configurations and Data
To remove massdns configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge massdnsRemove massdns configuration, data, and all of its dependencies
We can use the following command to remove massdns configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge massdnsDependencies
massdns have the following dependencies:
References
Summary
In this tutorial we learn how to install massdns package on Kali Linux using different package management tools: apt, apt-get and aptitude.