blechschmidt / massdns

A high-performance DNS stub resolver for bulk lookups and reconnaissance (subdomain enumeration)
GNU General Public License v3.0
3.08k stars 460 forks source link

Add resolver to output #52

Closed meme-lord closed 4 years ago

meme-lord commented 4 years ago

It would be useful to get the resolver that returned the response in the output. Makes it easier to remove resolvers that are returning bogus responses.

blechschmidt commented 4 years ago

There is an r flag for the simple mode to prepend resolver IP address, Unix timestamp and return code to the question line.

rkreddypandu commented 4 years ago

@blechschmidt , With the "r" flag, massdns is not giving any output. The sample command I used is "massdns -r resolvers.txt -t A domains.txt -o Sr"