dnsbrute
dnsbrute copied to clipboard
ANY query first, unless DNS server doesn't support ANY
trafficstars
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.