How To Install nsd on Kali Linux
Introduction
In this tutorial we learn how to install nsd on Kali Linux.
What is nsd
nsd is:
The NLnet Labs Name Server Daemon (NSD) is an authoritative DNS name server. It has been developed for operations in environments where speed, reliability, stability and security are of high importance.
This package provides the server and related configuration files.
There are three methods to install nsd 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 nsd Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install nsd using apt-get by running the following command:
sudo apt-get -y install nsdInstall nsd Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install nsd using apt by running the following command:
sudo apt -y install nsdInstall nsd 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 nsd using aptitude by running the following command:
sudo aptitude -y install nsdHow To Uninstall nsd on Kali Linux
To uninstall only the nsd package we can use the following command:
sudo apt-get remove nsdUninstall nsd And Its Dependencies
To uninstall nsd and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove nsdRemove nsd Configurations and Data
To remove nsd configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge nsdRemove nsd configuration, data, and all of its dependencies
We can use the following command to remove nsd configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge nsdDependencies
nsd have the following dependencies:
- init-system-helpers
- adduser
- lsb-base
- openssl
- libc6
- libevent-2.1-7
- libfstrm0
- libprotobuf-c1
- libssl1.1
- libsystemd0
References
Summary
In this tutorial we learn how to install nsd package on Kali Linux using different package management tools: apt, apt-get and aptitude.