Information Gathering
DNSRecon provides the ability to check NS records, MX records, zone transfers, SRV records, and cache snooping capabilities within a comprehensive Python network inspection script environment.
sudo apt install dnsrecon
dnsrecon -d <domain>
DNSRecon is a comprehensive DNS enumeration tool that performs zone transfers, DNS record enumeration, brute-forcing, reverse DNS lookups, and cache snooping. Written in Python, it provides a complete DNS audit of target domains.
Created by Carlos Perez in 2007, DNSRecon is one of the most feature-rich DNS enumeration tools available. It supports checking for misconfigured DNS servers that allow zone transfers, which can reveal the entire DNS database in a single request.
The tool supports multiple enumeration modes including standard record checking, dictionary-based brute-forcing, zone transfer attempts, and reverse DNS lookups across IP ranges. Results can be saved in multiple formats for later analysis.
| Command | Purpose |
|---|---|
dnsrecon -V | Display the DNSRecon version. |
dnsrecon -d example.com -t std | Enumerate standard DNS records. |
dnsrecon -d example.com -t axfr | Test authoritative servers for a zone transfer. |
dnsrecon -d example.com -t brt -D wordlist.txt --threads 10 | Brute-force candidate hostnames using ten workers. |
dnsrecon -d example.com -t stdStandard check - Perform general record type parsing and wildcards checkdnsrecon -d example.com -t brt -D subdomains.txtDictionary brute force - Guess host names using a custom local text wordlist filednsrecon -d example.comStandard enumerationdnsrecon -d example.com -t axfrZone transferdnsrecon -d example.com -t brt -D wordlist.txtBrute forcednsrecon -r 192.168.1.0/24Reverse lookupdnsrecon -d example.com -t srvSRV record enumerationdnsrecon -d example.com -t tldTLD enumerationdnsrecon -d example.com -n 8.8.8.8Custom DNS serverdnsrecon -d example.com -j output.jsonJSON outputdnsrecon -d example.com -x output.xmlXML outputdnsrecon -d example.com -s 192.168.1.1Specific seed IPdnsrecon -d example.com -D wordlist.txt -t brt --threads 10Brute-force with 10 threadsCheck if DNS servers allow unauthorized zone transfers, revealing all DNS records.
Discover NS, MX, TXT, SOA, SRV, and other DNS records for target domains.
Discover subdomains by guessing hostnames using custom wordlists.
Resolve IP addresses to hostnames to discover additional infrastructure.
Check if DNS servers cache specific records to gather intelligence.
Perform comprehensive DNS security audits for compliance and assessment.
Information Gathering
Fierce is a PERL script that quickly inspects a target domain for non-contiguous IP space and hosts by combining brute force testing, reverse lookup mapping, and wildcard tracking.
Information Gathering
DNSenum is a multithreaded Perl script for DNS enumeration that discovers DNS records, attempts zone transfers, brute-forces subdomains, and performs reverse lookups. It is a foundational reconnaissance tool in Kali Linux for mapping a target domain's DNS infrastructure.
Information Gathering
OWASP Amass is the industry-standard in-depth network mapping and attack surface discovery tool. It uses active and passive techniques, scraping 20+ public data feeds, DNS enumeration, and certificate transparency logs to discover subdomains, IP addresses, and ASN data — making it essential for penetration testing, bug bounty hunting, and enterprise security assessments.
Information Gathering
dig (domain information groper) is a flexible tool for interrogating DNS name servers. It performs DNS lookups and displays the answers that are returned from the name server(s).
Information Gathering
Learn how to use Subfinder in this beginner tutorial, from installing ProjectDiscovery's passive subdomain tool to running and reading your first authorised scan. Add API keys for wider coverage, save clean results, and chain Subfinder into httpx to validate live web hosts before further testing.
Information Gathering
Recon-ng is a full-featured Web Reconnaissance Framework focused on open source intelligence. It provides a powerful environment to conduct web-based reconnaissance quickly and thoroughly via community modules.
Learn how to do DNS enumeration step by step with dig, nslookup, dnsrecon and gobuster — a worked example, tool comparison and cheat sheet.
OSINT · IntermediateMaster subdomain enumeration techniques using passive and active methods to discover hidden subdomains and expand attack surface mapping.
Networking · IntermediateAn in-depth exploration of DNS architecture, resolution process, record types, caching, security threats, and privacy protocols like DoH and DoT.
OSINT · BeginnerMaster DNS enumeration techniques from basic queries to advanced zone transfers, subdomain brute forcing, and DNS security assessment using Kali Linux tools.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.