dig
DNS queries, including zone transfers (AXFR).
A DNS client to query a domain's records. Its star use in pentesting is the zone transfer (AXFR): if the server allows it, it hands over every subdomain and internal host at once.
Family Recon, DNS & OSINT
Flags axfr ns any @<dns>
Concepts DNS zone transfer (AXFR), Virtual Host Fuzzing
Cheatsheet DNS · 53
Installation
sudo apt install -y dnsutilsUseful commands
Appears in
Some machines where its use is documented; not an exhaustive list.
- AdministratorHackTheBox
- CascadeHackTheBox
- ForestHackTheBox
- Hacker Kid 1.0.1VulnHub
- NagoyaProving Grounds Practice
- SaunaHackTheBox
- SupportHackTheBox
- TrickHackTheBox