dnsrecon -d <domain>Default scan: SOA, NS, MX, A, AAAA, SRV and TXT records, plus a zone-transfer attempt.
Example
dnsrecon -d example.comA DNS enumeration script: record retrieval, zone transfers, subdomain brute forcing, reverse lookups, SRV discovery and certificate-log harvesting.
sudo apt install dnsrecondnsrecon -d <domain>Default scan: SOA, NS, MX, A, AAAA, SRV and TXT records, plus a zone-transfer attempt.
Example
dnsrecon -d example.comdnsrecon -d <domain> -aAlso tries AXFR zone transfers against every name server.
Example
dnsrecon -d example.com -adnsrecon -d <domain> -n <server>Uses a specific resolver.
Example
dnsrecon -d example.com -n 1.1.1.1dnsrecon -d <domain> -D <wordlist> -t brtBrute-forces subdomains from a wordlist.
Example
dnsrecon -d example.com -D subdomains.txt -t brtdnsrecon -d <domain> -t std,brt -D <wordlist>Combines standard enumeration with brute forcing.
Example
dnsrecon -d example.com -t std,brt -D /usr/share/wordlists/dnsmap.txtdnsrecon -d <domain> -t srvEnumerates common SRV records (LDAP, Kerberos, SIP, autodiscover) — useful for finding AD and VoIP services.
Example
dnsrecon -d example.com -t srvdnsrecon -r <cidr>Reverse lookups across a network range.
Example
dnsrecon -r 203.0.113.0/24dnsrecon -d <domain> -t zonewalkWalks an NSEC-signed zone to enumerate names.
Example
dnsrecon -d example.com -t zonewalkdnsrecon -d <domain> -j <file>Saves results as JSON; -c writes CSV and -x XML.
Example
dnsrecon -d example.com -j out.jsondnsrecon -d <domain> -t goo,crtPulls subdomains from certificate-transparency logs (crt) and search engines (goo).
Example
dnsrecon -d example.com -t crtThe go-to DNS lookup tool: query any record type, pick the server, attempt zone transfers and trace resolution from the root — essential for recon.
Looks up registration records for domains, IP addresses and autonomous systems — ownership, dates and abuse contacts for attack-surface mapping.
In-depth attack-surface mapping: discovers subdomains through passive sources, DNS brute-forcing and permutation, and graphs the results.