Recon
Resolve wordlist DNS names with gobuster
gobuster-dns is the DNS subdomain brute-force mode of Gobuster, checking wordlist candidates against a domain with wildcard-detection handling so only real hostnames are reported.
installgo install github.com/OJ/gobuster/v3@latest
commit f7bc132 on Trickest · Go · Apache-2.0 license
Free plan: 1 user, 3 execution slots, no card.
overview
What gobuster-dns does
Feed -d and -w into gobuster dns to resolve each candidate name and write the subdomains that exist. Run it beside passive discovery, then probe the merged set with httpx.
Use it when certificate logs and aggregators look thin and you want direct wordlist resolution. Enable --wildcard so a catch-all zone does not mark every guess as a hit. Point -r at a trusted resolver; use -i or -c for IP or CNAME enrichment (not both).
shuffledns and puredns scale better on very large wordlists. gobuster dns stays the gobuster-mode path with simple -t and --timeout controls. Trickest hosts it as a managed Recon node.
source github.com/OJ/gobuster · commit f7bc132 on Trickest
image quay.io/trickest/gobuster-dns:f7bc132
use cases
gobuster-dns use cases
Brute-force subdomains a domain hides
Resolve every name in a wordlist against the target domain to surface hosts that passive sources and certificate logs never recorded.
Avoid wildcard false positives
Enable wildcard handling so a catch-all DNS record does not make every guessed name look like a real, resolving host.
Enrich results with IP or CNAME
Turn on show-ip or show-cname so each found subdomain comes back with its address or alias, ready for the probing stage.
Point at a trusted resolver
Set a custom DNS server with -r when you need a faster public resolver or one you trust for accuracy during a long wordlist run.
reference
gobuster-dns inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| domain | STRING | -d | The target domain |
| wordlist | FILE | -w | Path to the wordlist |
| resolver | STRING | -r | Use custom DNS server (format server.com or server.com:port) |
| threads | STRING | -t | Number of concurrent threads (default 10) |
| timeout | STRING | --timeout | DNS resolver timeout (default 1s) |
| show-ip | BOOLEAN | -i | Show IP addresses |
| force-wildcard | BOOLEAN | --wildcard | Force continued operation when wildcard found |
| show-cname | BOOLEAN | -c | Show CNAME records (cannot be used with '-i' option) |
Showing key inputs. gobuster-dns exposes 8 inputs in total.
example
gobuster-dns command examples
# gobuster-dns: wordlist brute force with IPs, continue past wildcards
gobuster dns -d example.com -w subdomains.txt -t 50 -i --wildcardFound: www.example.com
Found: api.example.com
Found: mail.example.com
Found: staging.example.com
Found: dev.example.com
Found: vpn.example.com
Found: portal.example.com
Found: status.example.comguidance
gobuster-dns vs alternatives
Use gobuster-dns to brute-force subdomains by resolving wordlist names against a domain, especially for hosts passive sources miss. Pair with subfinder for passive coverage, then feed the merged resolved set to httpx. Prefer shuffledns or puredns for very large wordlists.
| Tool | Pick it when |
|---|---|
| shuffledns | massdns-backed brute forcing and resolution. Prefer on very large wordlists when gobuster dns throughput is the bottleneck. |
| puredns | High-speed resolver and brute forcer with strong wildcard filtering. Prefer when wildcard hygiene and scale both matter. |
| subfinder | Passive discovery rather than brute forcing. Complementary source for the same subdomain goal. |
faq
gobuster-dns FAQ
related
More Recon tools
amass-intel
OWASP Amass intel: map an organization's root domains and ranges.
bbot
Modular OSINT recon that chains modules from a seed target.
cloud-enum
Multi-cloud public name enumeration for AWS, Azure, and GCP.
findmytakeover
Multi-cloud dangling DNS detection via zone-to-inventory diff, not wordlists.
findomain
Passive subdomain enumeration with optional resolve and HTTP checks.
shuffledns
massdns wrapper for active subdomain brute force and resolution with wildcard filtering.
Run gobuster-dns yourself
A domain and a wordlist feed gobuster-dns, which resolves each candidate and writes the subdomains that exist as a queryable output.
Facts on this page come from the live Trickest tool library.