dnsx
be sure to check out the Usage page. On this page we share examples running ‘dnsx’ with specific flags and goals
and the output you can expect from each.
If you have questions, reach out to us through Help.
Basic Examples
DNS Resolving
Filter active hostnames from the list of passive subdomains, obtained from various sources:PTR
query:
PTR
query:
DNS Bruteforce
Bruteforce subdomains for given domain or list of domains usingd
and w
flag:
d
or w
flag supports file or comma separated keyword inputs:
-list
, -domain
, -wordlist
). The -list
flag defaults to stdin
, but the same can be achieved for other input types by adding a -
(dash) as parameter:
DNS Bruteforce with Placeholder based wordlist
Wildcard filtering
A special feature ofdnsx
is its ability to handle multi-level DNS based wildcards, and do it so with a very reduced number of DNS requests. Sometimes all the subdomains will resolve, which leads to lots of garbage in the output. The way dnsx
handles this is by keeping track of how many subdomains point to an IP and if the count of the subdomains increase beyond a certain threshold, it will check for wildcards on all the levels of the hosts for that IP iteratively.