Learn about running dnsx with examples including commands and output
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.
PTR
query:
PTR
query:
d
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:
dnsx
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.