Subdomain enumeration is the process of discovering subdomains associated with a target domain (e.g., blog.example.com, mail.example.com, api.example.com). These subdomains often have their own A, AAAA, or CNAME DNS records.

1. Active Subdomain Enumeration

Active enumeration involves directly querying the target's DNS servers to discover subdomains.

Common techniques:

Common tools:

Pros: Can discover hidden subdomains.

Cons: Generates traffic and may be detected by the target.


2. Passive Subdomain Enumeration

Passive enumeration discovers subdomains without directly interacting with the target's DNS servers.

Common sources:

Pros: Stealthy and unlikely to be detected.