DNSRecon
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
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.
- +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
- −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
- 01Use it when you want a full DNS picture of a domain, including any name server that still allows zone transfers.
- 02Use it when you need reverse DNS names for every address in a netblock tied to a target.
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 targetDepends
Quick start
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 reviewAlternatives to DNSRecon
Listed tools that take the same inputs, closest match first.
- ShodanFreemium · Passive · account · APIWhat it does
Search engine for internet-connected hosts, indexing open ports, service banners and TLS certificates by IP.
IPDomainNo ratings yetVerified 3d ago - CensysFreemium · Passive · account · APIWhat it does
Internet-wide scan data for hosts, services and certificates, searchable through the Censys Platform.
IPDomainNo ratings yetVerified 3d ago - Domain DiggerOpen source · PassiveWhat it does
Web app for DNS records, global DNS lookups, WHOIS, IP details and certificate history of a domain.
DomainIPNo ratings yetVerified 3d ago

