Open In App

DNSRecon – A powerful DNS enumeration script

Last Updated : 14 Sep, 2021
Like Article

DNSRecon is a free and open-source tool or script that is available on GitHub. Dnsrecon is one of the popular scripts in the security community which is used for reconnaissance on domains. This script is written in python language. You must have python language installed in your kali Linux operating system in order to use the script. 

This script checks all the DNS records for AXFR which can be useful for a security researcher for DNS enumeration on all types of records such as SOA, NS, TXT, SVR, SPF, etc. This script also used Google dorks for fetching indexed subdomains by Googlebot.

Installation and step by step tutorial of the DNSRecon:

Step 1: Open your kali Linux operating system and use the following command to install the tool.

git clone

Step 2: Now use the following command to move into the directory of the tool.

cd dnsrecon

Step 3: Now use the following command to install the dependencies of the tool.

pip3 install -r requirements.txt --no-warn-script-location

Step 4: Now use the following command to run the tool.

python3 -h

The tool has been installed and running successfully. Now we will see examples to use the tool.


Example 1: Use dnsrecon for Base domain enumeration.

python3 -d <domain>

Example 2:  Use dnsrecon for zonewalk.

python3 -d <domain>-t zonewalk

Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads