Skip to content
Back to skills

Dns Enumeration Zone Transfer

ASecurity

DNS (53) enumeration and attacks — zone transfer (AXFR), subdomain brute-force, version/NSID disclosure, reverse sweeps, unauthenticated dynamic update (RFC2136), and DNS rebinding awareness. Tier 1. Use against any authoritative/caching DNS server or when mapping a target's namespace.

  • 16 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 17, 2026
securityrustgobackend

Works with

  • cli

Security analysis

A100/100

Scanned November 17, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Dns Enumeration Zone Transfer?

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

Security grade badge for Dns Enumeration Zone Transfer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-dns-enumeration-zone-transfer/badge)](https://www.skillsdirectory.com/skills/anandjogawade-dns-enumeration-zone-transfer)

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-enumeration-zone-transfer
description: DNS (53) enumeration and attacks — zone transfer (AXFR), subdomain brute-force, version/NSID disclosure, reverse sweeps, unauthenticated dynamic update (RFC2136), and DNS rebinding awareness. Tier 1. Use against any authoritative/caching DNS server or when mapping a target's namespace.
---

# DNS Enumeration & Zone Transfer

DNS leaks the target's internal map. A misconfigured AXFR dumps every record; dynamic update lets you overwrite records; rebinding pivots a browser into RFC1918. Start with the namespace, then test the server's trust assumptions.

## Trigger phrases
`dns, 53, zone transfer, axfr, subdomain brute, dnsrecon, dig, nsupdate, dynamic update, dns rebinding, nsid`

## Method
1. **Find the NS:** `dig NS <domain> @<resolver>`; note each authoritative server.
2. **Zone transfer (AXFR):** `dig axfr <domain> @<ns>` — if it dumps records, that's a full namespace disclosure. Also `fierce --domain <d> --dns-servers <ns>` and `dnsrecon -d <d> -a -n <ns>`.
3. **Version / NSID:** `dig version.bind CHAOS TXT @<ns>`; `nmap -sU -p53 --script dns-nsid <ns>` → software/patch-level intel.
4. **Subdomain brute:** `dnsenum --dnsserver <ns> -f /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt <d>`; `dnsrecon -d <d> -D <wordlist> -t brt`; `gobuster dns -d <d> -w <wordlist>`. Also try `-t srv` for service records (AD).
5. **Reverse/PTR sweep:** `dnsrecon -r 10.0.0.0/24 -n <ns>`.
6. **Open recursion:** check for `ra` flag in answers → cache-poisoning/amplification exposure (report).

## Modern / rare techniques
- **[NEW/RARE] Dynamic update (RFC2136):** unauthenticated `nsupdate` can add/overwrite records → subdomain takeover or WPAD injection:
  `nsupdate` → `server <ns>` → `update add evil.corp.local 3600 A <attacker>` → `send`. Detect with `nmap --script dns-update`.
- **[NEW/RARE] DNS rebinding:** register a name whose TTL flips attacker-IP → internal-IP to pivot a victim browser/service into hitting RFC1918 (SSRF-to-internal). Relevant where an app resolves attacker-controlled hostnames → chain with web-ssrf.
- **Subdomain takeover:** dangling CNAME to a deprovisioned cloud resource → claim it.

## Escalation / chaining
AXFR/brute results → expand attack surface for recon-and-mapping and web skills; dynamic-update WPAD → llmnr/relay; rebinding → web-ssrf; discovered internal hosts → pivoting.

## Backend & tooling
Kali/WSL or HexStrike; standard dig/dnsrecon/nmap work from most vantage points. Dynamic-update and rebinding PoCs may need the operator host for callbacks.

## Verification (background, before reporting)
Re-run AXFR against each listed NS (often only one allows it); confirm brute-forced names resolve and are live (not wildcard — test a random label first). For dynamic update, confirm the record was written then clean it up; use OAST for rebinding proof.

## Evidence
AXFR output / record dump, discovered subdomains and live hosts, NSID/version banner, the dns-update write proof (and cleanup), impact. Remediation: restrict AXFR to secondaries by IP/TSIG, require TSIG for updates, disable open recursion, rebind protection (reject private answers for public names).

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.