infosec-au / altdns

Generates permutations, alterations and mutations of subdomains and then resolves them
Apache License 2.0
2.33k stars 447 forks source link

Added -d flag to specify resolver to use #14

Closed liamosaur closed 8 years ago

liamosaur commented 8 years ago

I've tested this on a couple of VPS's, using the default resolver (which can have several hops between it and the authoritative DNS server of your target) vs querying the authoritative DNS server directly. On average I've seen about a 6x increase in performance. `./altdns.py -i subdomains.txt -o data_output -w words.txt -r -s results.txt [*] Completed in 0:06:57

./altdns.py -i subdomains.txt -o data_output -w words.txt -r -s results.txt -d X.X.X.X [*] Completed in 0:01:07`

Also added some output to the end of the run that tells you the time it took to do the resolution

infosec-au commented 8 years ago

Awesome. This is perfect for convenience and was a needed improvement.

If anyone needs to do bulk or insanely large DNS brutes, I prefer generating the output from altdns and then using something like https://github.com/blechschmidt/massdns with a big list of resolvers.