dnsrecon command not found
In this troubleshooting guide we learn how to fix dnsrecon command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
dnsrecon: command not found
or when using sudo you get the following error message
sudo: dnsrecon: command not found
Solutions to dnsrecon: command not found
How To Fix dnsrecon: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dnsrecon is provided by dnsrecon package.
dnsrecon is:
DNSRecon is a Python script that provides the ability to perform:
- Check all NS Records for Zone Transfers.
- Enumerate General DNS Records for a given Domain (MX, SOA, NS, A, AAAA, SPF and TXT).
- Perform common SRV Record Enumeration.
- Top Level Domain (TLD) Expansion.
- Check for Wildcard Resolution.
- Brute Force subdomain and host A and AAAA records given a domain and a wordlist.
- Perform a PTR Record lookup for a given IP Range or CIDR.
- Check a DNS Server Cached records for A, AAAA and CNAME
- Records provided a list of host records in a text file to check.
- Enumerate Hosts and Subdomains using Google
To fix this problem, we can install more using the command below.
sudo apt-get -y install dnsrecon
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dnsrecon.
sudo apt -y install dnsrecon
Or if you have aptitude installed you can use the following command.
sudo aptitude install dnsrecon
Summary
In this tutorial we learn how to fix dnsrecon command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.