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

[Feature Request] Response Type filterout when logging to file #77

Open r0oth3x49 opened 3 years ago

r0oth3x49 commented 3 years ago

First of all thanks for this great tool.

I just wanted to ask that is there anyway we can avoid/filterout some response type ("resp_type": "SOA") and only write other response type to file with NDJSON output?

I know that we can filter out those resp_type with grep -v once the process is done but having a switch --ignore-resp SOA would be great that way we will avoid creating a big file containing few A resp_type and more SOA resp_type.

Thanks.