This module will listen for mDNS multicast requests on 5353/udp for A and AAAA record queries, and respond with a spoofed IP address (assuming the request matches our regex).
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/spoof/mdns/mdns_response
msf auxiliary(mdns_response) > show actions
...actions...
msf auxiliary(mdns_response) > set ACTION < action-name >
msf auxiliary(mdns_response) > show options
...show and set options...
msf auxiliary(mdns_response) > 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