Rapid7 Vulnerability & Exploit Database

DNS Record Scanner and Enumerator

Back to Search

DNS Record Scanner and Enumerator



This module can be used to gather information about a domain from a given DNS server by performing various DNS queries such as zone transfers, reverse lookups, SRV record brute forcing, and other techniques.


  • Carlos Perez <carlos_perez@darkoperator.com>
  • Nixawk


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/gather/enum_dns
msf auxiliary(enum_dns) > show actions
msf auxiliary(enum_dns) > set ACTION < action-name >
msf auxiliary(enum_dns) > show options
    ...show and set options...
msf auxiliary(enum_dns) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security