7. dnsrecon
Description:
- dnsrecon is a DNS reconnaissance tool that can perform a variety of DNS enumeration tasks such as zone transfers, reverse lookups, and brute force subdomain discovery.
Examples:
- Basic DNS Lookup:
- dnsrecon -d example.com
- Basic DNS Lookup:
Explanation: Performs a standard DNS lookup for example.com to discover various records like A, AAAA, MX, and NS.
- Perform a Zone Transfer:
- dnsrecon -d example.com -t axfr
- Perform a Zone Transfer:
Explanation: Attempts a DNS zone transfer (-t axfr) on example.com to gather all DNS records from the target’s DNS server.
- Reverse DNS Lookup for a Range:
- dnsrecon -r 192.168.1.0/24
- Reverse DNS Lookup for a Range:
Explanation: Performs a reverse lookup on the entire subnet to discover hostnames associated with IP addresses.