How To Install pdns-tools on Kali Linux
Introduction
In this tutorial we learn how to install pdns-tools
on Kali Linux.
What is pdns-tools
pdns-tools is:
PowerDNS is a versatile nameserver which supports a large number of different backends ranging from simple zonefiles to relational databases and load balancing/failover algorithms. PowerDNS tries to emphasize speed and security.
This package contains several tools to debug DNS issues. These tools do not require any part of the PowerDNS server components to work.
- dnsbulktest: A resolver stress-tester
- dnsgram: Show per 5-second statistics to study intermittent resolver issues
- dnsreplay: Replay a pcap with DNS queries
- dnsscan: Prints the query-type amounts in a pcap
- dnsscope: Calculates statistics without replaying traffic
- dnstcpbench: Perform TCP benchmarking of DNS servers
- dnswasher: Clean a pcap of identifying IP information
- ixplore: Explore diffs from IXFRs
- nsec3dig: Calculate the correctness of NSEC3 proofs
- saxfr: AXFR zones and show extra information
There are three methods to install pdns-tools
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 pdns-tools Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install pdns-tools
using apt-get
by running the following command:
sudo apt-get -y install pdns-tools
Install pdns-tools Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install pdns-tools
using apt
by running the following command:
sudo apt -y install pdns-tools
Install pdns-tools 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 update
After updating apt database, We can install pdns-tools
using aptitude
by running the following command:
sudo aptitude -y install pdns-tools
How To Uninstall pdns-tools on Kali Linux
To uninstall only the pdns-tools
package we can use the following command:
sudo apt-get remove pdns-tools
Uninstall pdns-tools And Its Dependencies
To uninstall pdns-tools
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove pdns-tools
Remove pdns-tools Configurations and Data
To remove pdns-tools
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge pdns-tools
Remove pdns-tools configuration, data, and all of its dependencies
We can use the following command to remove pdns-tools
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pdns-tools
Dependencies
pdns-tools have the following dependencies:
- libboost-program-options1.74.0
- libc6
- libcurl4
- libgcc-s1
- libp11-kit0
- libprotobuf23
- libsodium23
- libssl1.1
- libstdc++6
References
Summary
In this tutorial we learn how to install pdns-tools
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.