# Dnstwist (otlite)

Domain name permutation engine for detecting homograph phishing attacks, typo squatting, and brand impersonation.

- Takes: Domain, IP address
- Install: `otlite install dnstwist`, into its own virtualenv
- Pinned: [dnstwist==20250130](https://pypi.org/project/dnstwist/20250130/), with `dnstwist[full]==20250130`
- Command: `dnstwist`
- Python: any otlite runs on (3.10 or newer)
- Verified: 24 Sept 2026, version 20250130 on Ubuntu 26.04 LTS, Python 3.12.14
- Licence: Apache-2.0; 5,741 GitHub stars
- Source: https://github.com/elceef/dnstwist

otlite is the no-Docker edition of OTInstaller for Linux and macOS: [install it](https://otinstaller.com/otlite) with `curl -fsSL https://get.otinstaller.com/otlite | sh`.

## Run it

| Input | otlite command | Dnstwist receives |
| --- | --- | --- |
| Domain | `otlite run dnstwist -- d:example.com` | `dnstwist example.com` |

Arguments after `--` that aren't typed inputs go to the tool unchanged.

## What a run leaves

- `results/dnstwist/example.com/<time>_dnstwist_example.com_<run id>.txt`
- `results/dnstwist/example.com/<time>_dnstwist_example.com_<run id>.meta.json`
- `results/dnstwist/example.com/<time>_dnstwist_example.com_<run id>.envelope.json`

The envelope is the same shape for every tool: the tool and version, the input, timing, exit code and status, the emails, domains, IP addresses and URLs found in the output, and the output file's path, hash and size. `otlite results --tool dnstwist` lists saved runs, `otlite extract dnstwist` pulls out indicators and `otlite diff dnstwist example.com` compares the two latest runs.

## With other tools

`otlite run --all d:example.com` and `otlite auto example.com` run it with every other installed tool that takes the same input. It is in the `domain-recon` playbook: `otlite playbook domain-recon example.com`.

## Related tools

- [Spiderfoot](https://otinstaller.com/otlite/tools/spiderfoot.md): SpiderFoot automates OSINT for threat intelligence and mapping your attack surface
- [Bbot](https://otinstaller.com/otlite/tools/bbot.md): The recursive internet scanner for hackers
- [Ivre](https://otinstaller.com/otlite/tools/ivre.md): Network recon framework
- [Finalrecon](https://otinstaller.com/otlite/tools/finalrecon.md): All In One Web Recon
- [Fierce](https://otinstaller.com/otlite/tools/fierce.md): A DNS reconnaissance tool for locating non-contiguous IP space
- [Secator](https://otinstaller.com/otlite/tools/secator.md): secator - the pentester's swiss knife

[All 47 otlite tools](https://otinstaller.com/otlite/tools) · [otlite docs](https://otinstaller.com/docs/otlite.md)
