just sticking this here so i can find it later. thanks @mubix
cat hosts.txt | xargs -t -I subdomain dig +noall subdomain.THEDOMAIN.com +answer
update, rob pointed me to his post on it
http://www.room362.com/blog/2014/01/29/hostname-bruteforcing-on-the-cheap/
To run multithreaded with one thread per CPU core, use Parallel: parallel -a hosts.txt -t -I subdomain dig +noall subdomain.THEDOMAIN.com +answer
ReplyDeletehead -n 1000 /tmp/subs.txt | perl -pe 's/(.*)/$1.google.com/' | time adnshost -f -a -Vqx
ReplyDeleteanother from twitter
or "dnsmap" : https://code.google.com/p/dnsmap/
ReplyDelete