pentesting, updated
DNS enumeration (internal/network)
Enumerate internal DNS records, zone data and naming conventions reachable from inside the network.
Goal
Build a map of internal hostnames, services and network structure from DNS, which guides every later target choice.
How to test
dig axfr @10.10.10.5 internal.corp.local # attempt a zone transfer
dnsrecon -d internal.corp.local -n 10.10.10.5 # full sweep: see [dnsrecon](/docs/pentest-cheatsheets/tools/recon/dnsrecon)
nslookup -type=srv _ldap._tcp.dc._msdcs.internal.corp.local 10.10.10.5 # locate domain controllers
For external/application-facing DNS recon (subdomain enumeration against public infrastructure) see search engine discovery / recon instead.
What to look for
A successful zone transfer (dumps every record in the zone), or SRV records that locate domain controllers, certificate authorities or other high-value internal services directly.