How To Install djbdns-utils on Kali Linux

Hostnbit
In this tutorial we learn how to install djbdns-utils on Kali Linux. djbdns-utils is dns debugging tools

Introduction

In this tutorial we learn how to install djbdns-utils on Kali Linux.

What is djbdns-utils

djbdns-utils is:

This package provides number of tools for working with DNS, that can be used
to diagnose misconfigured remote servers.

  • dnsfilter – reverse-resolves IP addresses, converting them to host names.
  • dnsip, dnsipq – lookup IP addresses.
  • dnsmx – prints the MX records of fqdn.
  • dnsname – does a reverse lookup for the IP address.
  • dnsq – sends a non-recursive DNS query to DNS server.
  • dnsqr – asks for records of specified type under a the domain name
  • dnstrace searches for all DNS servers that can affect the resolution of
    records of specified type under a domain name, starting from the root
    server.
  • dnstxt – prints the TXT record of fqdn.
  • random-ip – print random IPv4 addresses.

This package also includes users guide to name qualification.

There are three methods to install djbdns-utils 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 djbdns-utils Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install djbdns-utils using apt-get by running the following command:

sudo apt-get -y install djbdns-utils

Install djbdns-utils Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install djbdns-utils using apt by running the following command:

sudo apt -y install djbdns-utils

Install djbdns-utils 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 djbdns-utils using aptitude by running the following command:

sudo aptitude -y install djbdns-utils

How To Uninstall djbdns-utils on Kali Linux

To uninstall only the djbdns-utils package we can use the following command:

sudo apt-get remove djbdns-utils

Uninstall djbdns-utils And Its Dependencies

To uninstall djbdns-utils and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove djbdns-utils

Remove djbdns-utils Configurations and Data

To remove djbdns-utils configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge djbdns-utils

Remove djbdns-utils configuration, data, and all of its dependencies

We can use the following command to remove djbdns-utils configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge djbdns-utils

Dependencies

djbdns-utils have the following dependencies:

References

Summary

In this tutorial we learn how to install djbdns-utils package on Kali Linux using different package management tools: apt, apt-get and aptitude.

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top