A DNS AXFR (zone transfer) is typically used between DNS servers to replicate DNS databases. However, when improperly secured, an attacker can request a zone transfer to enumerate internal resources, which exposes internal IPs and hostnames. This is a footprinting technique - gathering information about the internal structure of the network before launching more targeted attacks.