dnstwist logo

dnstwist

Generate look-alike domains - typos, homoglyphs, bitsquatting and TLD swaps - and check which ones are already registered. Free, Python.

Overview

dnstwist produces the domain permutations an attacker would buy: character swaps, omissions, additions, keyboard neighbours, homoglyphs and alternative TLDs. It then resolves them, so you can separate theory from domains that actually exist.

Point it at your own brand. The registered-and-resolving output is the shortlist for phishing monitoring and for takedown requests.

Key features

Permutation fuzzing; homoglyph and bitsquatting sets; DNS resolution; WHOIS and MX lookup; optional screenshot capture; JSON/CSV output.

Install & first run


# Python package
python3 -m pip install --user dnstwist

# or
pipx install dnstwist

# Every permutation, but only the ones that resolve
dnstwist --registered example.com

# Add MX records and a JSON report
dnstwist --registered --mxcheck --format json example.com > lookalikes.json

# Screenshot the registered look-alikes (needs a browser)
dnstwist --registered --screenshots example.com

Run it against your own domain, not a third party's. Docs: https://github.com/elceef/dnstwist

Real-world example

Register a short watchlist: run dnstwist weekly against your brand, diff the registered list, and investigate anything new that resolves with a login page on it.

Common questions

Is dnstwist free?

Yes - free and open source, maintained on GitHub. It runs entirely from your machine.

Why do so many permutations resolve?

Parked domains and wildcard DNS answer for almost anything. Filter on content or MX records before treating a hit as a threat.

Does it scan the look-alike sites?

Only optionally, with --screenshots. By default it resolves names and reads DNS and WHOIS records.

Can it cover a whole list of domains?

Feed it one domain per run, or loop it in a script - the JSON output is designed to be diffed between runs.

Censys

Search internet-facing hosts and TLS certificates by IP, organisation or domain, then monitor what changes. Freemium web app and API.

Shodan

The search engine for internet-connected devices, services and exposures. Freemium web app plus API.

theHarvester

Gather emails, subdomains, hosts and employee names for a domain from 20+ public sources. Free, open source, command line.


Keep exploring: browse every investigation type in the OSINT Hub.

Use OSINT tools responsibly — only investigate accounts, people or systems you have a legitimate reason to look into.