subdomain_enum
Discover subdomains of a domain using DNS brute-force and/or Certificate Transparency logs to map an organization's external attack surface.
Instructions
Discover subdomains of a domain via DNS brute-force and/or CT logs.
Two complementary sources:
"dns": probe candidate labels with DNS A lookups (active but light, capped at 512 candidates). Returns resolved IPs.
"ct": query public Certificate Transparency logs (crt.sh) for every name ever certified for the domain — fully passive, and finds real hosts no wordlist would guess.
"both": run both and merge, marking which source saw each host.
Enumerate only domains you are authorized to assess.
Args: domain: The base domain, e.g. "example.com". wordlist: Comma-separated labels for the DNS source (e.g. "www,api,dev"). Omit to use a built-in list of common labels. Ignored for "ct". source: "dns" (default), "ct", or "both". timeout: Per-query DNS timeout in seconds (the CT query uses its own longer timeout since crt.sh can be slow).
Returns: A dict with domain, sources, found_count, and found (each with subdomain, the source(s) that saw it, and resolved ips when known).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| source | No | dns | |
| timeout | No | ||
| wordlist | No |