DNS Enumeration
DNS enumeration involves gathering information about a domain's DNS records to map out its structure. Tools like dig
, nslookup
, or dnsenum
can be used to discover subdomains, mail servers, and other DNS entries.
DNS Entries
NS
Nameserver record - contains the name of the authoritative servers hosting the DNS records for a domain.
A
A record - contains the IPv4 address of a hostname.
AAAA
Quad A record - contains the IPv6 of a hostname.
MX
Mail Exchange record - contains the name of the email management servers.
PTR
Pointer record - contains the zones for reverse search using IP address.
CNAME
Canonical Name record - contains aliases for other A records.
TXT
Text record - contains any aribary data.
Enumeration
Retrieve records using host
:
Retrieve DNS records using nslookup
(useful for live of the land in Windows):
Subdomain brute force:
Brute forcing records
Useful scans to automate the process:
References
Last updated