dnsbrute icon indicating copy to clipboard operation
dnsbrute copied to clipboard

ANY query first, unless DNS server doesn't support ANY

Open HarryR opened this issue 9 years ago • 1 comments
trafficstars

HarryR avatar Nov 03 '16 11:11 HarryR

On a per-domain basis dnsbrute needs to first perform an ANY query.

If it returns data for the ANY query, then all further queries can be ANY queries.

If it throws some kind of error, or notifies us that it will not process ANY queries, then the second strategy is used - query for A, AAAA, CNAME etc.

However, some DNS resolvers may not support ANY queries, so we should modify checkresolvers to try and do an ANY query against example.com - and output that as a flag if it's supported.

E.g. checkresolvers will output

192.168.1.1 ANY 

Indicating that the nameserver supports ANY queries.

HarryR avatar Dec 09 '16 14:12 HarryR