Concepts / Active reconnaissance

Active reconnaissance

DNS footprinting

Also called dns enumeration, dns recon, dig AXFR, dnsrecon, zone walking

Reading an organisation's own name server for intelligence — the hosts, mail path and infrastructure it describes — before touching any of them.

The name server describes the network
The name server describes the network

Single lookups look like normal traffic and name the servers. A zone transfer allowed to anyone hands over every name in the zone in one answer, internal hosts included.

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.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab