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

ndjson output add ttl value #62

Closed shmilylty closed 4 years ago

shmilylty commented 4 years ago

The TTL value has a certain reference role in judging whether the subdomain is pan-parsed in the scene of subdomain enumeration. It is recommended that the ttl value be written to the json output result by default. For details, please refer to:http://sh3ll.me/archives/201704041222.txt

Thank you for open source this great tool, I very much hope that the output will have a TTL value. Note: Compiled and tested without problems.

blechschmidt commented 4 years ago

Thanks. This has been implemented by e5d5eb1c202e0c3b6b61a53f04527680913544fc.