Skip to content
OSINTtools.io

DNSRecon

Verified today

Python DNS enumeration script: zone transfer checks, record enumeration, subdomain brute force and reverse lookups.

Python CLI · local REST API · Open source · Infrastructure and domains · github.com

Takes
Domain · IP
Pricing
Free, open source
Footprint
Active · contacts the target
Account
Not needed
API
No public API
Last verified
Nov 26, 2026
Summary

Python DNS enumeration script: zone transfer checks, record enumeration, subdomain brute force and reverse lookups. It takes domain and IP address. Read the cons before you build a workflow on it.

What it does

DNSRecon is a long-running Python tool by Carlos Perez for pulling as much as possible out of DNS. It checks every name server of a domain for zone transfers, enumerates the common record types (MX, SOA, NS, A, AAAA, SPF, TXT) and SRV records, expands a name across top-level domains, detects wildcard resolution and brute-forces host names from a wordlist.

Investigators use it to map the hosts and mail infrastructure behind a domain and to run PTR lookups across an IP range or CIDR block. It can optionally expand netblocks found in SPF and WHOIS data through Shodan, and it ships a small local REST API for scripted use.

Footprint is active: it contacts the target or the services it is checking, which can be logged on the other side. No account is needed. There is no public API.

Pros
  • +Actively maintained with frequent commits
  • +Covers most DNS recon steps in one tool
  • +Free and open source (GPL-2.0)
  • +Packaged by many Linux distributions
Cons
  • −Brute force and zone transfer attempts query the target's name servers directly
  • −Needs Python 3.12 or later
  • −Command-line only

When to use it

  1. 01Use it when you want a full DNS picture of a domain, including any name server that still allows zone transfers.
  2. 02Use it when you need reverse DNS names for every address in a netblock tied to a target.
Key featuresZone transfer checks on all name serversStandard and SRV record enumerationSubdomain brute force from wordlistsWildcard detectionReverse PTR lookups over IP rangesOptional Shodan netblock expansionLocal REST API

Next steps from this result

Suggested from the inputs DNSRecon takes
  • Found a resultConfirm it with a second, independent source before you record it
  • Found a new identifierPivot on it only if your scope covers the new target
    Depends

Quick start

Install with uv
git clone https://github.com/darkoperator/dnsrecon.git
cd dnsrecon
uv sync
uv run dnsrecon

Technical details

Listing verified by an editor on Nov 26, 2026
API
No public API
Account
Not needed
Footprint
Active · contacts the target
Pricing
Free, open source
Platforms
Python CLI · local REST API
Repository
darkoperator/dnsrecon 3,097 stars
Language
Python
Licence
GPL-2.0
Last commit
Nov 2026
Listed
Nov 26

Reviews

No reviews yet

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

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

Sign in to review

Alternatives to DNSRecon

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

DNSReconOpen source · verified today
Visit github.com (opens in new tab)