massdns: subdomain enumeration tool
A high-performance DNS stub resolver
MassDNS is a simple high-performance DNS stub resolver targetting those who seek to resolve a massive amount of domain names in the order of millions or even billions. Without special configuration, MassDNS is capable of resolving over 350,000 names per second using publicly available resolvers.
git clone https://github.com/blechschmidt/massdns.git
Resolve all AAAA records from domains within domains.txt using the resolvers within
lists and store the results within results.txt:
$ ./bin/massdns -r lists/resolvers.txt -t AAAA domains.txt > results.txt
This is equivalent to:
$ ./bin/massdns -r lists/resolvers.txt -t AAAA -w results.txt domains.txt
By default, MassDNS will output response packets in text format which looks similar to the following:
The resolver IP address is included in order to make it easier for you to filter the output in case you detect that some resolvers produce bad results.
The repository includes the file
resolvers.txt consisting of a filtered subset of the resolvers provided by the subbrute project. Please note that the usage of MassDNS may cause a significant load on the used resolvers and result in abuse complaints being sent to your ISP. Also note that the provided resolvers are not guaranteed to be trustworthy. The resolver list is currently outdated with a large share of resolvers being dysfunctional.
MassDNS’s DNS implementation is currently very sporadic and only supports the most common records. You are welcome to help to change this by collaborating.
Copyright (C) 2018 blechschmidt