Skip to content
OSINTtools.io

DNSGen

Verified 2d agoDormant

Python tool that generates likely subdomain name permutations from known domains for later resolution.

Python CLI · Open source · Infrastructure and domains · github.com

Takes
Domain
Pricing
Open source
Footprint
Passive · no contact with target
Account
Not needed
API
No public API
Last verified
Nov 23, 2026
Summary

Python tool that generates likely subdomain name permutations from known domains for later resolution. It takes domain. Read the cons before you build a workflow on it.

What it does

DNSGen takes a list of known domains and generates variations by inserting words, changing numbers, adding affixes and applying cloud, region, microservice and internal tooling naming patterns. Custom wordlists are supported.

Investigators feed the output to a resolver such as massdns to discover subdomains that passive sources missed. DNSGen itself only generates names; it does not send DNS queries.

Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is no public API.

Pros
  • +Makes no network requests on its own
  • +Easy pip install
  • +Pipes into massdns and similar resolvers
Cons
  • −Output is only candidates; resolving them requires a separate tool that does query DNS
  • −Large inputs can produce very large lists

When to use it

  1. 01Use it when you have some subdomains and want to guess related ones.
  2. 02Use it when building a wordlist for DNS brute-forcing within scope.
Key featuresWord insertion and affixingNumber manipulationCloud and region naming patternsCustom wordlists with commentsFast generation mode

Next steps from this result

Suggested from the inputs DNSGen takes

Quick start

Terminal · Python
python -m pip install dnsgen
dnsgen domains.txt

Technical details

Listing verified by an editor on Nov 23, 2026
API
No public API
Account
Not needed
Footprint
Passive · no contact with target
Pricing
Open source · Free and open source (MIT).
Platforms
Python CLI
Repository
AlephNullSK/dnsgen 1,083 stars
Language
Python
Licence
MIT
Last commit
Jan 2025 (dormant)
Listed
Nov 23

Reviews

No reviews yet

Written by signed-in members. Each review appears here after an editor has read it.

Used DNSGen? Sign in to say what you used it for and how it went.

Sign in to review

Alternatives to DNSGen

Listed tools that take the same inputs, closest match first.

DNSGenOpen source · verified 2d ago
Visit github.com (opens in new tab)