Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

DNSRecon – A powerful DNS enumeration script

  • Last Updated : 14 Sep, 2021

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 https://github.com/darkoperator/dnsrecon.git

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 dnsrecon.py -h

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

Usages:

Example 1: Use dnsrecon for Base domain enumeration.

python3 dnsrecon.py -d <domain>

Example 2:  Use dnsrecon for zonewalk.

python3 dnsrecon.py -d <domain>-t zonewalk

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!