dnsenum command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dnsenum: command not found
or when using sudo you get the following error message
sudo: dnsenum: command not found
Solutions to dnsenum: command not found
How To Fix dnsenum: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dnsenum is provided by dnsenum package.
dnsenum is:
Dnsenum is a multithreaded perl script to enumerate DNS information of a domain and to discover non-contiguous ip blocks. The main purpose of Dnsenum is to gather as much information as possible about a domain. The program currently performs the following operations:
- Get the host’s addresses (A record).
- Get the namservers (threaded).
- Get the MX record (threaded).
- Perform axfr queries on nameservers and get BIND versions(threaded).
- Get extra names and subdomains via google scraping (google query = “allinurl: -www site:domain”).
- Brute force subdomains from file, can also perform recursion on subdomain that have NS records (all threaded).
- Calculate C class domain network ranges and perform whois queries on them (threaded).
- Perform reverse lookups on netranges (C class or/and whois netranges) (threaded).
- Write to domain_ips.txt file ip-blocks.
This program is useful for pentesters, ethical hackers and forensics experts. It also can be used for security tests.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dnsenum
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dnsenum.
sudo apt -y install dnsenum
Or if you have aptitude installed you can use the following command.
sudo aptitude install dnsenum
Summary
In this tutorial we learn how to fix dnsenum command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.