# Dnsgen (otlite)

DNSGen is a powerful and flexible DNS name permutation tool designed for security researchers and penetration testers.

- Takes: Domain
- Install: `otlite install dnsgen`, into its own virtualenv
- Pinned: [dnsgen==1.0.4](https://pypi.org/project/dnsgen/1.0.4/)
- Command: `dnsgen`
- Python: any otlite runs on (3.10 or newer)
- Verified: 24 Sept 2026, version 1.0.4 on Ubuntu 26.04 LTS, Python 3.12.14
- Licence: MIT; 1,081 GitHub stars
- Source: https://github.com/AlephNullSK/dnsgen

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

Dnsgen has no typed inputs: pass its own arguments after `--`, starting with `otlite run dnsgen -- --help`.

## What a run leaves

- `results/dnsgen/johndoe/<time>_dnsgen_johndoe_<run id>.txt`
- `results/dnsgen/johndoe/<time>_dnsgen_johndoe_<run id>.meta.json`
- `results/dnsgen/johndoe/<time>_dnsgen_johndoe_<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 dnsgen` lists saved runs, `otlite extract dnsgen` pulls out indicators and `otlite diff dnsgen johndoe` compares the two latest runs.

## With other tools

Batch runs can't pass it a value; run it on its own.

## 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
- [Sublist3r](https://otinstaller.com/otlite/tools/sublist3r.md): Fast subdomain enumeration tool using multiple search engines and certificate transparency logs
- [Dnstwist](https://otinstaller.com/otlite/tools/dnstwist.md): Domain name permutation engine for detecting homograph phishing attacks, typo squatting, and brand impersonation
- [Torbot](https://otinstaller.com/otlite/tools/torbot.md): Dark Web OSINT Tool
- [Ivre](https://otinstaller.com/otlite/tools/ivre.md): Network recon framework

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