DNS Enumeration Lab
A beginner-friendly reconnaissance lab focused on understanding DNS records, public domain information, and responsible information gathering.
Objective
To understand how DNS records reveal public infrastructure information and why proper configuration matters for organizational security.
Tools Used
nslookup
DNS record lookup utility
dig
Domain information groper for detailed DNS queries
MXToolbox
Online DNS and mail configuration checker
SecurityTrails
DNS and domain intelligence platform
IP lookup tools
Geolocation and hosting information lookup
Lab Environment
All queries were performed against publicly available DNS records using standard lookup tools. No private systems were targeted, and all activities stayed within legal and ethical boundaries of public information gathering.
Workflow
Performed A record lookups to identify IP addresses associated with domains
Queried MX records to understand email infrastructure
Reviewed NS records to identify authoritative name servers
Used MXToolbox to verify DNS configuration and identify potential issues
Compared results across multiple tools for consistency
Documented all findings in a structured format
Findings
DNS enumeration provides valuable insight into an organization's public-facing infrastructure. Understanding record types, their purposes, and how to interpret results is foundational for both offensive reconnaissance awareness and defensive configuration review.
What I Learned
DNS records contain significant information about organizational infrastructure
Different tools may return slightly different results — cross-referencing is important
Proper DNS configuration is a basic but critical security measure
Understanding what information is publicly visible helps defenders identify exposure
Responsible information gathering respects legal and ethical boundaries
Next Improvement
Explore subdomain enumeration techniques, learn about DNS security extensions (DNSSEC), and practice identifying misconfigured DNS records that could indicate security risks.
Screenshots

DNS Challenge Hub — Asset Discovery exercises using dig, nslookup, and subfinder