Skip to content
Back to skills

Dns Recon

ASecurity

DNS reconnaissance — record enumeration, zone-transfer (AXFR) attempts, and passive plus active subdomain discovery with dnsx/subfinder/puredns. Tier 1. Use at the start of recon and whenever a new domain enters scope.

  • 16 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 17, 2026
securitygitbackend

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill dns-recon --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dns Recon?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dns Recon
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-dns-recon/badge)](https://www.skillsdirectory.com/skills/anandjogawade-dns-recon)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dns-recon
description: DNS reconnaissance — record enumeration, zone-transfer (AXFR) attempts, and passive plus active subdomain discovery with dnsx/subfinder/puredns. Tier 1. Use at the start of recon and whenever a new domain enters scope.
---

# DNS Reconnaissance

DNS is the map of the attack surface: every record type leaks infrastructure, and subdomains are where the soft targets live.

## Trigger phrases
`dns recon, zone transfer, axfr, subdomain enum, dns records, dnsx, resolve subdomains, nameserver enum`

## Method
1. **Records**: `dig ANY target.com`, then per-type `A AAAA CNAME MX NS TXT SOA SRV CAA PTR`. `dnsx -l hosts -a -aaaa -cname -mx -ns -txt -soa -resp`. TXT often holds SPF/DMARC, verification tokens, internal notes.
2. **Zone transfer (AXFR)**: for each `NS`, `dig axfr target.com @ns1.target.com` (also `fierce`, `dnsrecon -d target.com -t axfr`). A successful transfer dumps the whole zone → jackpot.
3. **Passive subdomains**: `subfinder -d target.com -all`, `amass enum -passive`, `assetfinder`, crt.sh / certificate transparency, `github-subdomains`, Wayback (`gau`/`waymore`).
4. **Active subdomains**: resolve the passive set with `dnsx`; brute/permute with `puredns bruteforce dns-wordlist.txt target.com -r resolvers.txt` and `dnsgen`/`altdns` permutations; `shuffledns`.
5. **Reverse DNS & ASN**: `dnsx -ptr` over owned netblocks (`asnmap`) to find hosts by PTR.
6. **Takeover candidates**: flag dangling CNAMEs / `SERVFAIL` / NXDOMAIN-on-CNAME → hand to `subdomain-takeover`.

## Modern / rare techniques
- **NSEC/NSEC3 walking** on DNSSEC zones (`ldns-walk`, `nsec3walker`) to enumerate names without brute force.
- **CAA/SPF/MX mining** reveals mail providers, cloud vendors and third parties (SSRF/takeover leads).
- **Wildcard detection** (`puredns` auto-handles) to avoid false-positive brute hits.

## Escalation / chaining
New hosts → `recon-and-mapping`/`vhost-discovery`/`content-discovery` (new scope). Dangling records → `subdomain-takeover`. Infra/providers → `osint`, `web-ssrf`, `cloud-pentest`.

## Backend & tooling
Kali/HexStrike (dig/dnsx/subfinder/amass/puredns/shuffledns). Passive-first to stay quiet.

## Verification (background, before reporting)
Re-resolve candidate subdomains from a second resolver/vantage to filter wildcard/stale entries; re-attempt AXFR to confirm it's reproducible. Treat only resolving/reachable hosts as live scope.

## Evidence
Record dumps, AXFR output (if successful), the consolidated subdomain inventory with resolution status, and handoffs (takeover candidates, new scope). AXFR exposure is itself a finding — note remediation (restrict transfers to secondaries).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.