subenum v0.11.0
Tool
subenum
Kind
Active subdomain enumeration
Ships as
One static Go binary
Latest
v0.11.0, 2026-11-18
License
GPL-3.0

Every DNS query, accounted for.

subenum brute-forces subdomains from a wordlist, then tells you how much of the answer to trust. Each lookup is counted as resolved, NXDOMAIN, timeout or refused, and every run ends with a verdict a script can check.

go install github.com/TMHSDigital/subenum@latest

Scan only domains you own or have written permission to test.

A missing name is only news if the lookup got an answer.

When resolvers time out, a wordlist scan doesn't fail loudly. It returns fewer names and looks finished. subenum keeps a ledger of every lookup and grades the run, so you know whether “not found” means not there or not asked.

  1. complete

    Under 1% of lookups failed.

    12 of 5000 lookups failed (timeout 9, refused 3, other 0), under 1%
  2. degraded

    1% or more failed, or the run was cut short.

    71 of 5000 lookups failed (timeout 64, refused 7, other 0)
  3. unreliable

    Over 20% failed; the scan stops itself.

    the reliability guard aborted the scan: 412 of 1800 lookups failed (timeout 398, refused 14, other 0)

What you can rely on.

Each claim is a flag or a field you can check for yourself, not a promise in a README.

ClaimWhat it meansCheck it
Resolver pools that can't lie to youSpread queries across many resolvers. Failing ones are benched, every hit is re-checked against your trusted resolver before it's printed, and canary checks catch a resolver that hides names that exist.-r resolvers.txt -dns-server 9.9.9.9:53
Wildcards, including rotating onessubenum fingerprints wildcard answers before the scan and learns CDN pools that rotate. An inconclusive check is reported as inconclusive, never as “no wildcard”."wildcard_filtered": 112
A rate limit you can quote-rate caps packets on the wire, counting retries and every record type, so the number in your rules of engagement is the number you send."achieved_qps": 198.6
Scope that holdsExcluded names are never queried, not filtered afterwards. Exact names and *.parent patterns, inline or from a file.-exclude '*.corp.example.com'
Takeover hintsCNAMEs that dangle or point at takeover-prone services such as S3, GitHub Pages, Heroku and Azure are flagged for you to verify by hand.TAKEOVER?=dangling:heroku
Change detectionCompare against the last run and print only names that appeared or disappeared. Exit code 4 means something changed.-diff previous.jsonl
Encrypted transportSend queries over plain DNS, DNS over TLS or DNS over HTTPS by changing one address.-dns-server tls://1.1.1.1
One static binaryNo runtime, no services, no API keys. A 5,000-entry wordlist is built in, so subenum yourdomain.com works out of the box.subenum -version
Exhibit A · subenum -simulate-zone, lab 1 and lab 2

See it on a lab zone.

Two of the labs, recorded as they run. Lab 1 lists each host with its records and flags a CNAME that points at a name nobody owns:

blog.lab.example CNAME=ghost-lab.example.net TAKEOVER?=dangling

In lab 2 every name resolves, so subenum reports the wildcard instead of thirty false hits; with -force it filters the wildcard's answers and keeps the three real hosts.

The answers come from a DNS server on your own machine, so you can try the same commands with no network traffic.

Run it the way your work runs.

Resolved names go to stdout, one per line, so they pipe cleanly. Progress and the per-outcome breakdown go to stderr.

subenum example.com
subenum -w big-wordlist.txt -type A,AAAA,CNAME -show-records example.com
Getting started

The active step, when you need to defend the result.

subfinder covers passive sources. puredns, shuffledns and dnsx are built for raw mass resolution. subenum is the active brute-force step for when you need to defend the result: a single binary that shows its working.

It also teaches. -simulate gives marked, reproducible output with no network traffic, and -tui puts every option in a form.

The subenum terminal UI: a Configure Scan form with domain, wordlist, simulate, hit rate, DNS server, concurrency, timeout and attempts fields
Exhibit B · subenum -tui

Keep it on your radar.

Star the repository to keep it in your list. To hear when a new version ships, watch it for releases (on GitHub: Watch, then Custom, then Releases) or subscribe to the release feed.

Contribute
Issues labelled good first issue are scoped for a first pull request.
Labs
Propose a new lab scenario in Discussions.