Skip to main content
ASM Cheatsheet

DNSRecon

Intermediate

DNS enumeration and zone transfer testing

https://github.com/darkoperator/dnsrecon

Installation

git clone https://github.com/darkoperator/dnsrecon.git
cd dnsrecon
pip install -r requirements.txt

Usage

Usage Examples

# Standard enumeration
python3 dnsrecon.py -d example.com

# Zone transfer attempt
python3 dnsrecon.py -d example.com -a

# Reverse lookup
python3 dnsrecon.py -r 192.168.1.0/24

# Brute force subdomains
python3 dnsrecon.py -d example.com -D subdomains.txt -t brt

# Cache snooping
python3 dnsrecon.py -d example.com -t snoop