1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-02 22:15:38 +02:00
tldr/pages/linux/dnsrecon.md

33 lines
1.3 KiB
Markdown
Raw Normal View History

2020-03-28 22:02:12 +01:00
# dnsrecon
> DNS enumeration tool.
> More information: <https://github.com/darkoperator/dnsrecon>.
- Scan a domain and save the results to an SQLite database:
2020-03-28 22:02:12 +01:00
`dnsrecon {{[-d|--domain]}} {{example.com}} --db {{path/to/database.sqlite}}`
2020-03-28 22:02:12 +01:00
- Scan a domain, specifying the nameserver and performing a zone transfer:
`dnsrecon {{[-d|--domain]}} {{example.com}} {{[-n|--name_server]}} {{nameserver.example.com}} {{[-t|--type]}} axfr`
2020-03-28 22:02:12 +01:00
- Scan a domain, using a brute-force attack and a dictionary of subdomains and hostnames:
2020-03-28 22:02:12 +01:00
`dnsrecon {{[-d|--domain]}} {{example.com}} {{[-D|--dictionary]}} {{path/to/dictionary.txt}} {{[-t|--type]}} brt`
2020-03-28 22:02:12 +01:00
- Scan a domain, performing a reverse lookup of IP ranges from the SPF record and saving the results to a JSON file:
`dnsrecon {{[-d|--domain]}} {{example.com}} -s {{[-j|--json]}}`
2020-03-28 22:02:12 +01:00
- Scan a domain, performing a Google enumeration and saving the results to a CSV file:
`dnsrecon {{[-d|--domain]}} {{example.com}} -g {{[-c|--csv]}}`
2020-03-28 22:02:12 +01:00
- Scan a domain, performing DNS cache snooping:
`dnsrecon {{[-d|--domain]}} {{example.com}} {{[-t|--type]}} snoop {{[-n|--name_server]}} {{nameserver.example.com}} {{[-D|--dictionary]}} {{path/to/dictionary.txt}}`
2020-03-28 22:02:12 +01:00
- Scan a domain, performing zone walking:
`dnsrecon {{[-d|--domain]}} {{example.com}} {{[-t|--type]}} zonewalk`