commands.sh

massdns

all

Resolve DNS records in bulk with high performance for reconnaissance. See also: `dig`, `dnsx`.

More info →

Options (6)

-r, --resolversboolean

Resolve `A` records for domains in a file using specified resolvers

Example: massdns {{[-r|--resolvers]}} {{path/to/resolvers.txt}} {{path/to/domains.txt}}
-t, --typeboolean

Resolve a specific record type and write results to a file

Example: massdns {{[-r|--resolvers]}} {{path/to/resolvers.txt}} {{[-t|--type]}} {{A|AAAA|NS|MX|TXT}} {{[-w|--outfile]}} {{path/to/output.txt}} {{path/to/domains.txt}}
-w, --outfileboolean

Resolve a specific record type and write results to a file

Example: massdns {{[-r|--resolvers]}} {{path/to/resolvers.txt}} {{[-t|--type]}} {{A|AAAA|NS|MX|TXT}} {{[-w|--outfile]}} {{path/to/output.txt}} {{path/to/domains.txt}}
-o, --outputboolean

Resolve domains with simple text output format

Example: massdns {{[-r|--resolvers]}} {{path/to/resolvers.txt}} {{[-o|--output]}} S {{path/to/domains.txt}}
-s, --hashmap-sizeboolean

Resolve domains with a custom number of concurrent lookups

Example: massdns {{[-r|--resolvers]}} {{path/to/resolvers.txt}} {{[-s|--hashmap-size]}} {{10000}} {{path/to/domains.txt}}
-q, --quietboolean

Resolve domains in quiet mode, suppressing status output

Example: massdns {{[-r|--resolvers]}} {{path/to/resolvers.txt}} {{[-q|--quiet]}} {{path/to/domains.txt}}

Examples (6)

Resolve `A` records for domains in a file using specified resolvers

massdns [-r|--resolvers] path/to/resolvers.txt path/to/domains.txt

Resolve a specific record type and write results to a file

massdns [-r|--resolvers] path/to/resolvers.txt [-t|--type] A|AAAA|NS|MX|TXT [-w|--outfile] path/to/output.txt path/to/domains.txt

Resolve domains with simple text output format

massdns [-r|--resolvers] path/to/resolvers.txt [-o|--output] S path/to/domains.txt

Resolve domains with JSON output format

massdns [-r|--resolvers] path/to/resolvers.txt [-o|--output] J path/to/domains.txt

Resolve domains with a custom number of concurrent lookups

massdns [-r|--resolvers] path/to/resolvers.txt [-s|--hashmap-size] 10000 path/to/domains.txt

Resolve domains in quiet mode, suppressing status output

massdns [-r|--resolvers] path/to/resolvers.txt [-q|--quiet] path/to/domains.txt
made by @shridhargupta | data from tldr-pages