otinstaller · Subdomains and DNS
Install dnstwist on Windows, macOS, or Linux in one command
dnstwist generates lookalike domains for a name you give it, including typos, homoglyphs, and extra TLDs, then checks which ones are registered and what they resolve to. Output includes MX records, so you see which lookalikes can receive mail.
dnstwist in three lines
curl -fsSL https://otinstaller.com/install.sh | sh
ot install dnstwist
ot run dnstwist --registered example.comOn Windows, replace the first line with irm https://otinstaller.com/install.ps1 | iex in PowerShell.
Runs elceef/dnstwist (Apache-2.0, ★ 5.8k, otinstaller 0.3.0). otinstaller installs it as a Python package, pinned to version 20250130; it does not change or audit the tool itself.
What dnstwist is for
- Brand and phishing monitoring for your own domain.
- Checking a suspicious domain for the brand it imitates.
- Adding lookalikes to a domain scan: ot scan domain example.com --tools subfinder,dnstwist.
Run dnstwist with ot
ot run dnstwist passes everything after the tool's name to dnstwist unchanged, with input and output passed through, so the project's own documentation applies and tools pipe into each other.
- Show only the look-alike domains that are registered.
ot run dnstwist --registered example.com- Also check for mail servers, and write CSV.
ot run dnstwist -r -m -f csv example.com
Add it to the domain scan, which merges every tool's findings into one list: ot scan domain example.com --tools subfinder,theharvester,dnstwist
Where the results go
ot run saves nothing itself: dnstwist's output goes to your terminal, a pipe, or wherever its own output option writes it. A scan is different. ot scan domain example.com --tools subfinder,theharvester,dnstwist prints one merged report, saves it into a case with --case <name>, and writes it to an HTML, JSON, or CSV file with -o. Cases stay on your machine, under ~/.ot/cases.
Before you run it
- Resolution is live DNS traffic from your machine. Use --registered to keep the output short.
Update, remove, inspect
ot info dnstwist # details, and how it installs on this system
ot update dnstwist # move to the version the registry pins
ot update dnstwist --latest # take the newest upstream release instead
ot remove dnstwist # remove itFull reference: the otinstaller docs, dnstwist on otinstaller.com, and the tool's own project page.
Pairs with
When open-source isn't enough
dnstwist finds the lookalike. SearchIn's WHOIS and DNS-history providers tell you who registered it and when it last changed.
FAQ
dnstwist with otinstaller, answered
How do I install dnstwist on Windows, macOS, or Linux?
Install ot once with the one-line script on the otinstaller page, then run ot install dnstwist. Ot puts it in a Python environment of its own under ~/.ot/uv, apart from your system Python, at version 20250130. ot itself needs no administrator rights, and ot doctor checks that every installed tool starts.
How do I run dnstwist through ot?
With ot run dnstwist followed by dnstwist's own arguments, for example: ot run dnstwist --registered example.com. ot passes everything after the tool's name straight through and exits with the tool's exit code, so the project's own documentation applies unchanged. Add ~/.ot/bin to your PATH to call the tool by its own name.
Is dnstwist part of ot scan?
Only when you name it. ot scan domain example.com --tools subfinder,theharvester,dnstwist adds dnstwist to the domain scan, which lists every finding once with the tools that reported it.
Does dnstwist need an API key or a login?
ot stores no key for it. The basic run needs neither a key nor a login.
Does dnstwist send traffic to the target?
The registry lists dnstwist as passive: it does not probe the target's own systems. Options that do contact the target, where the tool has them, are named under "Before you run it".