Active reconnaissance
DNS footprinting
Reading an organisation's own name server for intelligence — the hosts, mail path and infrastructure it describes — before touching any of them.
DNS footprinting is reading a domain's own name server to learn its hosts before touching any of them.
Single dig lookups look like normal traffic: NS names the [[authoritative-server|authoritative]] server, MX
the mail host, TXT the SPF policy. The prize is a [[zone-transfer]] (dig AXFR): a server that allows
transfers to anyone hands over every name in the zone, internal hosts included. The defence: allow transfers only to
the secondaries.
Read next
- Zone transfer How a secondary name server copies a zone from its primary: whole (AXFR) or just the changes (IXFR), prompted by NOTIFY.
- DNS The distributed directory that turns names like bank.lab into addresses.
- Authoritative server A DNS server that holds a zone's records and answers for them with the aa flag.
- Content discovery Finding the pages and files a web server holds but links to nowhere, by guessing common paths from a wordlist.