Updated Jul 15, 2026

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

8 inputs
NameTypeFlagDescription
domainSTRING-dThe target domain
wordlistFILE-wPath to the wordlist
resolverSTRING-rUse custom DNS server (format server.com or server.com:port)
threadsSTRING-tNumber of concurrent threads (default 10)
timeoutSTRING--timeoutDNS resolver timeout (default 1s)
show-ipBOOLEAN-iShow IP addresses
force-wildcardBOOLEAN--wildcardForce continued operation when wildcard found
show-cnameBOOLEAN-cShow 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 · command
# gobuster-dns: wordlist brute force with IPs, continue past wildcards
gobuster dns -d example.com -w subdomains.txt -t 50 -i --wildcard
Illustrative
Found: 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.com

guidance

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.

ToolPick it when
shufflednsmassdns-backed brute forcing and resolution. Prefer on very large wordlists when gobuster dns throughput is the bottleneck.
purednsHigh-speed resolver and brute forcer with strong wildcard filtering. Prefer when wildcard hygiene and scale both matter.
subfinderPassive discovery rather than brute forcing. Complementary source for the same subdomain goal.

faq

gobuster-dns FAQ

It detects catch-all records so they do not turn every guess into a false hit. Pass --wildcard to keep going when a wildcard zone is present.

Yes. Set -r to a custom DNS server (host or host:port) when you want a faster public resolver or one you trust for a long wordlist run.

Passive tools read records others already published. gobuster-dns guesses names and resolves them directly, so it can find hosts that were never indexed publicly.

No. -i shows IP addresses and -c shows CNAME records; they cannot be used together. Pick the enrichment the next stage needs.

Raise -t for more concurrent queries and set --timeout high enough that slow authoritative answers are not dropped as misses. Pair with a responsive -r resolver on large lists.

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.