How to Enumerate DNS Records Without a Full Zone Transfer
A security analyst wants to discover all DNS records associated with a domain without triggering a full zone transfer. Which tool is BEST suited for this task?
Quick Answer
The answer is dnsrecon. This tool is best suited for DNS enumeration without zone transfer because it systematically queries multiple record types—A, AAAA, CNAME, MX, NS, SOA, SRV, and TXT—while also brute-forcing subdomains and enumerating SRV records, all without ever attempting a full AXFR transfer. On the Certified Ethical Hacker CEH exam, this question tests your understanding of passive and active reconnaissance techniques, specifically how to gather DNS intelligence stealthily when zone transfers are blocked. A common trap is choosing nslookup or dig, which rely on zone transfers for complete records, or tools like fierce that are less comprehensive. Remember the memory tip: dnsrecon is the “Swiss Army knife” for DNS recon—it does everything except the forbidden AXFR handshake.
⚠ Common exam trap
EC-Council often tests the misconception that nslookup or dig are sufficient for comprehensive DNS discovery, but the question specifically asks for a tool that discovers *all* DNS records without a zone transfer, which requires automated enumeration beyond single‑query tools.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
dnsrecon
D (dnsrecon) is correct because it is a dedicated DNS enumeration tool that performs multiple types of DNS record queries (A, AAAA, CNAME, MX, NS, SOA, SRV, TXT, etc.) using techniques like brute‑forcing subdomains and performing SRV record enumeration, all without attempting a full zone transfer (AXFR). It is specifically designed for reconnaissance and can discover hidden or non‑obvious DNS records efficiently.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
theHarvester
Why it's wrong here
theHarvester gathers emails, subdomains, and IPs from public sources but does not directly perform DNS record enumeration.
- ✗
dig
Why it's wrong here
dig is a flexible DNS query tool but typically used for single queries; dnsrecon automates enumeration.
- ✗
nslookup
Why it's wrong here
nslookup is a basic query tool but not specifically designed for enumeration across multiple record types and subdomain brute-forcing.
- ✓
dnsrecon
Why this is correct
dnsrecon is a powerful DNS enumeration script that can query multiple record types and perform subdomain brute-forcing.
Visual reference
Go deeper
Related to this question
About these practice questions
One of 870 original CEH practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on CEH
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. An analyst runs the following command: dnsenum --enum example.com. Which of the following actions is dnsenum performing?
medium- ✓ A.Attempts a zone transfer and brute-forces subdomains
- B.Scans for open ports on the DNS server
- C.Queries the DNS server for its version information
- D.Performs a reverse DNS lookup to find PTR records for the IP range
Why A: The `dnsenum` tool is designed for DNS enumeration, and its `--enum` flag performs a comprehensive scan that includes attempting a zone transfer (AXFR query) to retrieve all DNS records from the nameserver, and if that fails, it brute-forces subdomains using a wordlist. This matches option A exactly.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CEH practice question is part of Courseiva's free EC-Council certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CEH exam.