Fast passive subdomain discovery tool from ProjectDiscovery that queries dozens of online sources to find valid subdomains for target domains.
subfinder -d {domain} -o {output} ๐ domain โ example.com ๐ output โ subdomains.txt subfinder -d {domain} -o {output} Sandbox: execFile · Timeout: 600s
network.discovery.subdomain security.recon.passive network.discovery.dns network.discovery.dns-resolve | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
flag-d | string | No | - | Target domain to find subdomains for | -d, -domain |
flag-dL | file | No | - | File containing list of domains | -dL, -list |
flag-s | string | No | - | Specific sources to use for discovery | -s, -sources |
flag-es | string | No | - | Sources to exclude from enumeration | -es, -exclude-sources |
all | boolean | No | - | Use all sources for enumeration (slow) | -all |
recursive | boolean | No | - | Use only recursive-capable sources | -recursive |
flag-m | string | No | - | Subdomains to match (file or comma separated) | -m, -match |
flag-f | string | No | - | Subdomains to filter (file or comma separated) | -f, -filter |
flag-rl | integer | No | - | Maximum HTTP requests per second | -rl, -rate-limit |
flag-t | integer | No | 10 | Number of concurrent goroutines | -t |
flag-o | string | No | - | File to write output to | -o, -output |
flag-oJ | boolean | No | - | Write output in JSONL format | -oJ, -json |
flag-oD | string | No | - | Directory to write output (-dL only) | -oD, -output-dir |
flag-nW | boolean | No | - | Display active subdomains only | -nW, -active |
flag-r | string | No | - | Comma separated list of resolvers to use | -r |
silent | boolean | No | - | Show only subdomains in output | -silent |
version | boolean | No | - | Show version of subfinder | -version |
flag-ls | boolean | No | - | List all available sources | -ls, -list-sources |
flag-config | file | No | - | Config file path | -config |
timeout | integer | No | 30 | Seconds to wait before timing out | -timeout |
max-time | integer | No | 10 | Minutes to wait for enumeration results | -max-time |
es | boolean | No | - | string[] sources to exclude from enumeration | -es, -exclude-sources |
f | boolean | No | - | string[] subdomain or list of subdomain to filter | -f, -filter |
ls | boolean | No | - | list all available sources | -ls, -list-sources |
m | boolean | No | - | string[] subdomain or list of subdomain to match | -m, -match |
oD | boolean | No | - | only) | -oD, -output-dir, -dL |
r | boolean | No | - | string[] comma separated list of resolvers to use | -r |
s | boolean | No | - | to display all available sources. | -s, -sources, -s, -ls |
v | boolean | No | - | show verbose output | -v |
| Type | Description | MIME | Schema | Trust |
|---|---|---|---|---|
security.recon.subdomain.list | List of discovered subdomains | text/plain | - | verified |
security.recon.subdomain.json | Subdomains in JSONL format | application/json | - | verified |
Inputs
network.target.domain Target domain name
network.target.domain.list File containing multiple domains
Outputs
security.recon.subdomain.list List of discovered subdomains
security.recon.subdomain.json JSONL output with source metadata
network_trafficnetwork_traffic Produces
security.recon.subdomain.listsecurity.recon.subdomain.jsonConsumes
network.target.domainnetwork.target.domain.list| Resource | Value |
|---|---|
| CPU | low |
| Memory | 64 MB |
| Network | medium |
| Disk I/O | low |
Basic subdomain enumeration for a single domain
subfinder -d example.com Use all available sources
subfinder -d example.com -all Save output to a file
subfinder -d example.com -o results.txt JSON output for pipeline integration
subfinder -d example.com -oJ Silent mode โ only print subdomains
subfinder -d example.com -silent Use specific sources only
subfinder -d example.com -s crtsh,github Exclude certain sources
subfinder -d example.com -es alienvault,zoomeyeapi Rate limit to 10 requests per second
subfinder -d example.com -rl 10 Active subdomain resolution
subfinder -d example.com -nW Enumerate multiple domains from a file
subfinder -dL domains.txt List all available data sources
subfinder -ls Subfinder is a fast passive subdomain enumeration tool from ProjectDiscovery. It queries over 40 online sources including certificate transparency logs, search engines, and threat intelligence platforms to discover valid subdomains without actively probing the target.
# Standard subdomain enumeration
subfinder -d example.com
# Full results with all sources
subfinder -d example.com -all -oJ
# Pipe to httpx for HTTP probing
subfinder -d example.com -silent | httpx -title -status-code