OSINT tool
Install dnsx on Windows, macOS and Linux
Fast DNS toolkit for resolving and probing large lists of hostnames.
ot install dnsxdnsx resolves very long lists of hostnames quickly and keeps the ones that exist. It is the usual step between a subdomain finder and a web prober, and it can also test names from a wordlist.
How to install dnsx
ot install dnsxot downloads dnsx 1.3.1 as a prebuilt binary from github.com/projectdiscovery/dnsx and verifies its SHA-256 checksum before installing it. Nothing has to be compiled.
New to ot? It is one command to install, shown below.
How to use dnsx
Arguments after the tool's name go straight to dnsx, so its own documentation applies unchanged.
Resolve what subfinder found and show the addresses.
ot run subfinder -d example.com -silent | ot run dnsx -silent -a -respShow the CNAME record of every host in a file.
ot run dnsx -l hosts.txt -cname -respTest names from a wordlist.
ot run dnsx -d example.com -w words.txt -silentot run dnsx --help lists every option. The project's own documentation is at github.com/projectdiscovery/dnsx.
An AI agent can run dnsx too: ot mcp serves it over the Model Context Protocol. See OSINT with AI agents.
dnsx licence, platforms and versions
| Project | https://github.com/projectdiscovery/dnsx |
| Licence | MIT |
| Runs on | Windows, macOS and Linux |
| Takes | domain |
| Sends traffic to the target | No |
| Release binary | version 1.3.1 from github.com/projectdiscovery/dnsx, verified by SHA-256 |
Questions about dnsx
How do I install dnsx on Windows?
Open PowerShell and install ot with irm https://otinstaller.com/install.ps1 | iex. Then run ot install dnsx. ot fetches a pinned version of dnsx and keeps it under ~/.ot, apart from the rest of your system.
Is dnsx free?
Yes. dnsx is open source, released under the MIT licence. ot, which installs it, is free under the Apache 2.0 licence.
Do I need Go or a compiler to install dnsx?
No. ot downloads the prebuilt dnsx binary for your platform and checks its SHA-256 checksum. A mismatch installs nothing.
How do I update or remove dnsx?
ot update dnsx moves it to the version pinned in ot's registry, and ot update dnsx --latest to the newest upstream release. ot remove dnsx uninstalls it.
Install ot
curl -fsSL https://otinstaller.com/install.sh | shirm https://otinstaller.com/install.ps1 | iexRun it in PowerShell.
Current version: 0.3.0. Both scripts verify the download against its SHA-256 checksum before installing.