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:

    1. Basic DNS Lookup:
      • dnsrecon -d example.com

Explanation: Performs a standard DNS lookup for example.com to discover various records like A, AAAA, MX, and NS.

    1. Perform a Zone Transfer:
      • dnsrecon -d example.com -t axfr

Explanation: Attempts a DNS zone transfer (-t axfr) on example.com to gather all DNS records from the target’s DNS server.

    1. Reverse DNS Lookup for a Range:
      • dnsrecon -r 192.168.1.0/24

Explanation: Performs a reverse lookup on the entire subnet to discover hostnames associated with IP addresses.

Scroll to Top