ldns-nsec3-hash command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ldns-nsec3-hash: command not found
or when using sudo you get the following error message
sudo: ldns-nsec3-hash: command not found
Solutions to ldns-nsec3-hash: command not found
How To Fix ldns-nsec3-hash: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ldns-nsec3-hash is provided by ldnsutils package.
ldnsutils is:
The goal of ldns is to simplify DNS programming, it supports recent RFCs like the DNSSEC documents, and allows developers to easily create software conforming to current RFCs, and experimental software for current Internet Drafts.
This package contains various client programs related to DNS that are based on top of libldns library and DRILL tool which is similar to dig. These tools were designed with DNSSEC in mind and are useful for DNS and DNSSEC testing and debugging.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ldnsutils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ldnsutils.
sudo apt -y install ldnsutils
Or if you have aptitude installed you can use the following command.
sudo aptitude install ldnsutils
Summary
In this tutorial we learn how to fix ldns-nsec3-hash command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.