loading
loading
Recon
Brute-force DNS subdomains with wildcard support.
overview
gobuster-dns is the DNS mode of gobuster. It takes a domain and a wordlist and resolves each candidate name, reporting the subdomains that exist. Where passive enumeration reads what others have already recorded, brute forcing tries names directly, so it finds hosts that never appeared in certificate logs or DNS aggregators because nobody indexed them.
It handles the practical problems of DNS brute forcing. Wildcard support keeps a catch-all record from marking every guess as a hit, a custom resolver lets you point at a fast or trusted DNS server, and the show-ip and show-cname options enrich each result with its address or alias. Threads and a per-query timeout control how hard and how fast it pushes the resolver.
On Trickest, gobuster-dns is a Recon node that reads a domain and a wordlist and writes a file and a folder of resolved subdomains. Run it alongside passive discovery to add brute-forced names, then probe the combined set with a tool like httpx.
source github.com/OJ/gobuster
use cases
Resolve every name in a wordlist against the target domain to surface hosts that passive sources and certificate logs never recorded.
Enable wildcard handling so a catch-all DNS record does not make every guessed name look like a real, resolving host.
Turn on show-ip or show-cname so each found subdomain comes back with its address or alias, ready for the probing stage.
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
| 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: wordlist brute force with IPs, continue past wildcardsgobuster dns -d example.com -w subdomains.txt -t 50 -i --wildcardFound: www.example.comFound: api.example.comFound: mail.example.comFound: staging.example.comFound: dev.example.comFound: vpn.example.comFound: portal.example.comFound: status.example.comguidance
Use gobuster-dns to brute-force subdomains by resolving wordlist names against a domain, especially to catch hosts passive sources miss. Pair it with subfinder for passive coverage and feed the merged, resolved set to httpx before scanning.
massdns-backed brute forcing and resolution; far faster on very large wordlists.
High-speed resolver and brute forcer with strong wildcard filtering.
Passive discovery rather than brute forcing; a complementary source for the same goal.
faq
related
Asynchronous DNS brute-force tool for fast subdomain enumeration.
OWASP Amass: network mapping and external asset discovery.
OWASP Amass intel: find an organization's root domains and ranges.
OWASP Amass enumeration that produces structured JSON output.
Find related domains and subdomains via shared Google Analytics IDs.
Find domains and subdomains potentially related to a given domain.
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.