Skip to content
otinstaller
Install

OSINT tools · Subdomains and DNS

Subdomain enumeration and DNS tools

Mapping a domain starts with its subdomains: every name is a host, a service or a forgotten test system. Most of the tools here are passive, which means they read certificate transparency logs, DNS datasets and search engines, and never contact the target.

The rest generate candidate names and resolve them, which does send DNS queries. Those are marked as active on their own pages.

Scan a domain with subfinder and theharvester

ot scan domain example.com

This runs subfinder and theharvester at the same time and lists each finding once, with the tools that reported it. Tools that are not installed yet are offered for installation first.

13 subdomain enumeration and DNS tools compared

ToolWhat it doesRuns onKind
subfinderFast passive subdomain enumeration from dozens of public sourcesWindows, macOS, Linuxpassive
amassIn-depth attack surface mapping and subdomain discovery from many data sourcesWindows, macOS, Linuxpassive
findomainFast subdomain enumeration from certificate transparency logs and APIsWindows, macOS, Linuxpassive
chaosQuery the ProjectDiscovery Chaos dataset of known subdomainsWindows, macOS, Linuxpassive
sublist3rEnumerate subdomains using search engines and public DNS datasetsWindows, macOS, Linuxpassive
knockpyEnumerate subdomains by passive lookup and wordlist, with HTTP and TLS checksWindows, macOS, Linuxpassive
theharvesterCollect emails, subdomains, hosts and employee names for a domain from public sourcesWindows, macOS, Linuxpassive
alterxGenerate likely subdomain names from known ones using patternsWindows, macOS, Linuxpassive
gobusterBrute-force DNS subdomains, virtual hosts, web paths and cloud bucketsWindows, macOS, Linuxactive
fierceDNS reconnaissance for locating hosts and non-contiguous IP space of a domainWindows, macOS, Linuxactive
dnsxFast DNS toolkit for resolving and probing large lists of hostnamesWindows, macOS, Linuxpassive
dnstwistGenerate look-alike domains and find the ones registered for phishing or typosquattingWindows, macOS, Linuxpassive
bbotRecursive OSINT automation: subdomains, emails, web and cloud findings in one runmacOS, Linuxactive

Install a few of them at once:

ot install subfinder amass findomain

These are the command-line tools. For websites and search engines that do the same job, see OSINT Framework and how ot fits with it. New to the field? What is OSINT? covers the method and its legal limits, and OSINT with AI agents shows how an agent can run these tools for you.

Which subdomain enumeration and DNS tool should you use?

  • subfinder is the usual starting point: fast, passive and useful without any API keys. findomain and amass draw on other sources, so their results add to it rather than repeat it.
  • alterx turns the names you already have into likely variations, and gobuster or fierce test names from a wordlist.
  • dnsx resolves a long list of names and keeps the ones that exist, which is the step between finding names and probing them.
  • dnstwist works on a different problem: it generates look-alike domains and reports which are registered, to catch phishing and typosquatting.
  • bbot runs the whole process recursively in one command. It is not available on Windows.

Questions about subdomain enumeration and DNS tools

What is the difference between passive and active enumeration?

Do I need API keys?

Can I pipe the tools into each other?

Install ot

curl -fsSL https://otinstaller.com/install.sh | sh

Current version: 0.3.0. Both scripts verify the download against its SHA-256 checksum before installing.

More OSINT tools