13 DNS Analysis Tools for DNS Records and Subdomain Enumeration
DNS Analysis · Practical Command-Line Guide
13 DNS Analysis Tools for DNS Records and Subdomain Enumeration
Learn how to install and use popular DNS lookup, domain reconnaissance, and subdomain discovery tools. Each section includes syntax, common command-line options, and practical examples you can adapt for an authorized assessment.
What is DNS analysis?
DNS analysis helps explain how a domain maps to hosts, mail services, authoritative name servers, and other infrastructure. It can support troubleshooting, asset inventory, attack-surface reviews, and security assessments. The most useful results often come from combining direct DNS queries with passive sources and carefully scoped active enumeration.
Common record types include A (IPv4 address), AAAA (IPv6 address), CNAME (alias), MX (mail exchange), NS (name server), SOA (zone authority metadata), TXT (text data, often used for verification and email policy), CAA (certificate-authority policy), SRV (service location), and PTR (reverse DNS).
Tools covered
- dnsenum — Multithreaded DNS enumeration
- whois — Domain-registration and network context
- nslookup — Simple interactive DNS lookups
- dig — Detailed DNS record inspection
- DNSDumpster — Browser-based DNS reconnaissance
- assetfinder — Passive related-domain and subdomain discovery
- dnsmap — Wordlist-based subdomain brute forcing
- dnsrecon — Flexible DNS record and zone checks
- Fierce — DNS reconnaissance and IP-space discovery
- Subfinder — Fast passive subdomain enumeration
- Aquatone — Visual review of discovered web hosts
- Gobuster — DNS subdomain and web-path discovery
- shuffledns — High-speed DNS resolution and brute forcing
Choose the right type of tool
Direct DNS inspection
Use dig or nslookup to ask precise questions about individual record types and name servers.
Passive discovery
Use DNSDumpster, assetfinder, or Subfinder to collect candidates from public sources.
Active discovery and review
Use dnsenum, dnsmap, DNSRecon, Fierce, Gobuster, or shuffledns only within scope; then use Aquatone for visual review of web hosts.
Important distinction: WHOIS provides domain-registration and IP-allocation context. Aquatone examines discovered web hosts. Neither is a replacement for direct DNS queries.
dnsenum
dnsenum is a Perl-based enumeration utility that gathers common DNS records, tests for permitted zone transfers, discovers possible subdomains from a wordlist, and can perform reverse lookups. It combines several reconnaissance techniques in one command, so use its more intensive options only on an authorized scope.
How to install
sudo apt update
sudo apt install dnsenum
Syntax
dnsenum [OPTIONS] DOMAIN
Basic usage
dnsenum example.com
Common command-line options / controls
| Option / control | Purpose |
|---|---|
| —dnsserver SERVER | Use a specified DNS server for core A, NS, and MX queries. |
| –enum | Shortcut profile that enables several common enumeration options. |
| -f, –file FILE | Use a custom subdomain wordlist instead of the packaged default. |
| –threads N | Set the number of concurrent query workers. |
| -t, –timeout SECONDS | Set TCP/UDP query timeout values. |
| –noreverse | Skip reverse lookups. |
| –subfile FILE | Write discovered subdomains to a plain-text file. |
| -o, –output FILE | Save an XML report. |
| -w, –whois | Perform WHOIS lookups on discovered network ranges. |
| -r, –recursion | Recursively enumerate discovered delegated subdomains. |
Examples
- Basic enumeration
dnsenum example.comRuns the default record and name-server enumeration.
- Use the bundled enumeration shortcut
dnsenum --enum example.comEnables a broader default set of enumeration steps.
- Use a custom wordlist
dnsenum -f /path/to/subdomains.txt --threads 5 example.comChecks candidate names from your own wordlist.
- Choose a resolver and skip reverse lookups
dnsenum --dnsserver 1.1.1.1 --noreverse example.comUses the specified DNS resolver and omits reverse lookups.
- Save results for later review
dnsenum --subfile discovered-subdomains.txt -o dnsenum-report.xml example.comWrites a text list of subdomains and an XML report.
Documentation: Kali Tools: dnsenum
whois
WHOIS queries registration and allocation databases for domain names, IP addresses, and related network resources. It does not replace DNS lookups, but it can help identify a registrar, registry, registration dates, authoritative referral, or the organization associated with an IP range. Privacy services and registry policies may hide some fields.
How to install
sudo apt update
sudo apt install whois
Syntax
whois [OPTIONS] OBJECT
Basic usage
whois example.com
Common command-line options / controls
| Option / control | Purpose |
|---|---|
| -h HOST | Query a specific WHOIS server. |
| -p PORT | Use a specified server port. |
| -I | Start with the IANA WHOIS service and follow referrals when supported. |
| -H | Hide legal-disclaimer text in output. |
| –no-recursion | Do not follow referrals to other WHOIS servers. |
| –verbose | Show additional query details. |
| –help | Display help. |
Examples
- Look up a domain
whois example.comRequests the registration record for the domain.
- Inspect an IP address
whois 93.184.216.34Queries the registry data associated with an IP allocation.
- Start with IANA referral data
whois -I example.comAsks IANA and follows a referral when the server provides one.
- Query a named WHOIS server
whois -h whois.iana.org example.comSends the request to an explicit WHOIS server.
- Show diagnostic details
whois --verbose example.comDisplays extra details about how the query is handled.
Documentation: Kali Tools: whois
nslookup
nslookup is a small DNS query utility available on Linux, Windows, and other systems. It is useful for checking whether a name resolves, querying common record types, and comparing responses from different resolvers. It can run a single query or enter an interactive prompt.
How to install
# Kali / Debian / Ubuntu
sudo apt update
sudo apt install bind9-dnsutils
Syntax
nslookup [-option] [NAME] [SERVER]
Basic usage
nslookup example.com
Common command-line options / controls
| Option / control | Purpose |
|---|---|
| -type=TYPE or -querytype=TYPE | Select the requested record type, such as A, AAAA, MX, NS, TXT, or SOA. |
| -debug | Display debugging information about the query and response. |
| -timeout=SECONDS | Set the wait time for a response. |
| -retry=COUNT | Set the number of retries. |
| -port=PORT | Query a non-default DNS port. |
| -vc | Use a TCP connection instead of UDP where supported. |
| [SERVER] | Optionally specify the DNS resolver to query. |
Examples
- Resolve a hostname
nslookup example.comQueries the default resolver for the domain address records.
- List authoritative name servers
nslookup -type=NS example.comRequests NS records for the domain.
- Query mail exchangers with a chosen resolver
nslookup -type=MX example.com 1.1.1.1Asks Cloudflare’s public resolver for MX records.
- Inspect TXT records
nslookup -type=TXT example.comChecks TXT data, which may include SPF or domain-verification strings.
- Look up a subdomain
nslookup www.example.comChecks whether a particular hostname resolves.
Documentation: BIND 9 documentation
dig
dig (Domain Information Groper) is one of the most flexible tools for DNS analysis. It can query specific record types, select a name server, display authoritative response details, trace delegation, test reverse records, and produce short output suitable for scripts.
How to install
# Kali / Debian / Ubuntu
sudo apt update
sudo apt install bind9-dnsutils
Syntax
dig [@SERVER] NAME [TYPE] [QUERY-OPTIONS]
Basic usage
dig example.com A
Common command-line options / controls
| Option / control | Purpose |
|---|---|
| @SERVER | Choose the DNS server to query, for example @1.1.1.1. |
| +short | Print a compact answer. |
| +noall +answer | Suppress most sections and print the answer section only. |
| +trace | Trace delegation from the DNS root toward the answer. |
| +tcp | Send the query over TCP. |
| +time=SECONDS | Set the wait time for a response. |
| +tries=COUNT | Set how many query attempts to make. |
| -x IP | Perform a reverse lookup for an IP address. |
Examples
- Return a concise A-record answer
dig example.com A +shortPrints IPv4 address answers without the full response.
- Inspect MX records
dig example.com MX +noall +answerShows only the mail-exchanger answer section.
- Query TXT records through a chosen resolver
dig @1.1.1.1 example.com TXT +shortRequests TXT data from the specified DNS service.
- Review SOA data
dig example.com SOA +noall +answerDisplays the start-of-authority record and zone parameters.
- Trace DNS delegation
dig example.com NS +traceFollows the delegation path from the root servers toward the domain.
Documentation: BIND 9 documentation
DNSDumpster
DNSDumpster is a web-based reconnaissance service that aggregates public information to map visible hosts, DNS records, and related infrastructure. It draws on several public data sources, including certificate-transparency data, search sources, and web archives. There is no standard local command-line interface for the public website, so the examples below are browser workflows rather than terminal commands.
How to use / access
No local software installation is required for the public web interface. Open DNSDumpster.com in your browser.
Syntax
Browser workflow: open the service, submit an authorized domain or supported IP/CIDR search, then review the returned data.
Basic usage
1. Open DNSDumpster.
2. Enter a domain you own or are authorized to assess.
3. Submit the search and review the returned host and DNS information.
Common command-line options / controls
| Option / control | Purpose |
|---|---|
| Domain search | Enter a domain to inspect publicly visible subdomains and DNS-related information. |
| IP/CIDR banner search | The service also documents a separate network-oriented banner search for supported IP ranges. |
| Results view | Review discovered hosts, records, relationships, and any available visualization. |
| Limits and access | Query and result limits depend on the current service plan and may change. |
| Command-line flags | Not applicable to the public web interface; do not assume an unofficial API is available. |
Examples
- Search a domain
Open the website and submit example.com.Review the resulting host and DNS information.
- Investigate one discovered hostname
Run a domain search, then copy a listed hostname into dig or nslookup.Validate the record independently instead of assuming the aggregated result is current.
- Compare reported name servers
Review the DNS results, then run dig example.com NS +noall +answer locally.Compare the service’s snapshot with a live DNS response.
- Use a network search only when in scope
Use the service’s documented IP/CIDR banner-search interface for an owned or authorized range.This is a separate workflow from subdomain discovery; review the service’s terms and limits.
Documentation: DNSDumpster About & FAQ
assetfinder
assetfinder searches multiple public sources for domains and subdomains associated with a supplied domain. It is useful early in reconnaissance because it can gather possible hostnames without performing a large wordlist-driven DNS brute-force run. Results can include duplicates or records that are no longer active, so validate them afterward.
How to install
# Kali package
sudo apt update
sudo apt install assetfinder
# Or install with Go, if Go is configured
go install github.com/tomnomnom/assetfinder@latest
Syntax
assetfinder [--subs-only] DOMAIN
Basic usage
assetfinder --subs-only example.com
Common command-line options / controls
| Option / control | Purpose |
|---|---|
| –subs-only | Limit output to subdomains of the domain supplied, excluding unrelated associated domains. |
| DOMAIN | The root domain to research. |
| Shell pipes | Use sort -u or tee to deduplicate and save output; these are shell utilities, not assetfinder flags. |
Examples
- List related assets
assetfinder example.comSearches for domains potentially related to the supplied root domain.
- Restrict results to subdomains
assetfinder --subs-only example.comFilters output to subdomains of the supplied domain.
- Deduplicate the results
assetfinder --subs-only example.com | sort -uSorts results and removes duplicate lines.
- Save a subdomain list
assetfinder --subs-only example.com | sort -u | tee assetfinder-subdomains.txtPrints unique results and saves them to a text file.
- Compare with another passive tool
assetfinder --subs-only example.com > assetfinder.txtStores results so they can be compared with other tool outputs.
Documentation: assetfinder project
dnsmap
dnsmap tests candidate hostnames against a domain using a built-in list or a list you provide. It can save human-readable and CSV output, and it supports a configurable delay. Despite sometimes being grouped with passive tools, dnsmap performs active DNS queries and should be used only on authorized domains.
How to install
sudo apt update
sudo apt install dnsmap
Syntax
dnsmap DOMAIN [OPTIONS]
Basic usage
dnsmap example.com
Common command-line options / controls
| Option / control | Purpose |
|---|---|
| -w FILE | Use a custom hostname wordlist. |
| -r FILE | Write human-readable results to a file. |
| -c FILE | Write results as CSV. |
| -d MILLISECONDS | Set the maximum randomized delay between queries. |
| -i IP | Ignore a specified IP address to reduce known false positives. |
| –help or no arguments | Display the available usage syntax on versions that support it. |
Examples
- Run with the built-in wordlist
dnsmap example.comChecks common candidate names using dnsmap’s internal list.
- Supply a custom wordlist
dnsmap example.com -w /path/to/subdomains.txtChecks candidate names from the specified file.
- Save readable output
dnsmap example.com -r dnsmap-results.txtWrites discovered names to a regular text report.
- Save CSV output
dnsmap example.com -c dnsmap-results.csvCreates a comma-separated results file.
- Add a delay and save results
dnsmap example.com -w /path/to/subdomains.txt -d 500 -r dnsmap-delayed.txtIntroduces a randomized delay of up to the specified number of milliseconds between DNS lookups.
Documentation: Kali Tools: dnsmap
dnsrecon
DNSRecon supports standard record enumeration, common SRV checks, wordlist-based hostname discovery, reverse lookups, wildcard handling, and zone-transfer tests. Its modes let you choose a focused task rather than running every technique every time. Output can be saved in formats suitable for reporting and later processing.
How to install
sudo apt update
sudo apt install dnsrecon
Syntax
dnsrecon -d DOMAIN -t TYPE [OPTIONS]
Basic usage
dnsrecon -d example.com -t std
Common command-line options / controls
| Option / control | Purpose |
|---|---|
| -d DOMAIN | Set the target domain. |
| -t TYPE | Choose a mode such as std, brt, srv, axfr, rvl, crt, or caa; supported values vary by release. |
| -D FILE | Use a dictionary for brute-force mode. |
| -n SERVER | Choose a DNS server. |
| –threads N | Set concurrency for supported lookups. |
| -a | Include AXFR tests with standard enumeration on versions where documented. |
| -x FILE / -c FILE / -j FILE | Save XML, CSV, or JSON output respectively in current versions. |
| -r RANGE | Supply an IP range or CIDR for reverse lookup. |
Examples
- Enumerate common DNS records
dnsrecon -d example.com -t stdChecks common records such as SOA, NS, A, AAAA, MX, and SRV.
- Run wordlist-based discovery
dnsrecon -d example.com -t brt -D /path/to/subdomains.txtTests candidate hostnames from a supplied dictionary.
- Check name servers for zone transfer
dnsrecon -d example.com -t axfrTests whether any name server permits an AXFR transfer; run only within an authorized assessment.
- Enumerate SRV records
dnsrecon -d example.com -t srvRequests common service-location records.
- Save an XML report
dnsrecon -d example.com -t std -x dnsrecon-report.xmlWrites standard enumeration output to an XML file.
Documentation: Kali Tools: dnsrecon
Fierce
Fierce is a DNS reconnaissance tool designed to locate hostnames and non-contiguous IP space associated with a target. In addition to checking likely subdomains, it can traverse nearby IP addresses, search specified related domains, and optionally test HTTP connections to discovered names.
How to install
# Kali / Debian
sudo apt update
sudo apt install fierce
# Alternative supported by the upstream project
python3 -m pip install fierce
Syntax
fierce --domain DOMAIN [OPTIONS]
Basic usage
fierce --domain example.com
Common command-line options / controls
| Option / control | Purpose |
|---|---|
| –domain DOMAIN | Set the target domain. |
| –subdomains NAME [NAME …] | Supply candidate subdomain labels to check. |
| –traverse COUNT | Search nearby IP addresses around discovered hosts. |
| –search DOMAIN [DOMAIN …] | Limit traversal to a specified set of related domains. |
| –connect | Attempt HTTP connections to discovered domains. |
| –wide | Expand discovery across a wider part of a nearby IPv4 range. |
| –dns-servers SERVER [SERVER …] | Specify DNS servers; option details may vary by installed release. |
| –range CIDR | Look up names across an explicitly supplied range, where supported. |
Examples
- Run a basic reconnaissance pass
fierce --domain example.comStarts DNS-focused discovery for the chosen domain.
- Check selected hostname labels
fierce --domain example.com --subdomains www api mailTests a short list of likely names.
- Explore nearby IP addresses
fierce --domain example.com --subdomains www --traverse 10Traverses a limited number of nearby addresses around an identified host.
- Attempt HTTP connections to discovered hosts
fierce --domain example.com --subdomains www --connectChecks whether discovered names respond over HTTP.
- Save a text log
fierce --domain example.com > fierce-results.txtRedirects terminal output to a local file.
Documentation: Fierce project
Subfinder
Subfinder is a ProjectDiscovery tool focused on passive subdomain discovery through public online sources. It supports multiple input domains, source selection, result filtering, JSON output, and provider configuration. Some data sources require API keys, so source coverage depends on local configuration.
How to install
# Kali package
sudo apt update
sudo apt install subfinder
# Or install using a compatible Go toolchain
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
# Ensure Go binaries are in PATH
export PATH="$PATH:$(go env GOPATH)/bin"
Syntax
subfinder -d DOMAIN [FLAGS]
Basic usage
subfinder -d example.com -silent
Common command-line options / controls
| Option / control | Purpose |
|---|---|
| -d DOMAIN | Enumerate one domain. |
| -dL FILE | Read several root domains from a file. |
| -all | Use all supported sources; this may be slower. |
| -s SOURCES | Select sources by name. |
| -o FILE | Write output to a file. |
| -oJ | Write JSON Lines output. |
| -silent | Print only discovered subdomains. |
| -active | Show only subdomains that resolve during active validation. |
| -r RESOLVERS | Supply a comma-separated list of resolvers. |
| -rl RATE | Set the maximum HTTP request rate where supported. |
Examples
- Run passive discovery
subfinder -d example.comCollects subdomain candidates from configured passive sources.
- Produce clean output
subfinder -d example.com -silentSuppresses banner and status text so results are easier to pipe.
- Save results
subfinder -d example.com -o subfinder-results.txtWrites discovered subdomains to a file.
- Enumerate multiple domains
subfinder -dL domains.txt -oD results-by-domainReads root domains from a file and writes per-domain output into a directory.
- Request JSON Lines output
subfinder -d example.com -o subfinder.jsonl -oJSaves structured JSON Lines output for automation.
Documentation: ProjectDiscovery Subfinder
Aquatone
Aquatone accepts hostnames, URLs, IP addresses, or supported scan output through standard input, then checks web services and creates screenshots and an HTML report. It is a downstream triage tool rather than a DNS enumeration utility. The original GitHub repository was archived in January 2023, so confirm compatibility and security requirements before adding it to a current workflow.
How to install
Install Chromium or a compatible Chrome browser.
Download the appropriate Aquatone release from its upstream releases page.
Extract the archive and put the aquatone binary in a directory on PATH.
Repository: https://github.com/michenriksen/aquatone (archived)
Syntax
COMMAND_THAT_PRODUCES_HOSTS | aquatone [OPTIONS]
Basic usage
cat hosts.txt | aquatone -out ./aquatone-report
Common command-line options / controls
| Option / control | Purpose |
|---|---|
| -out DIR | Choose the directory for reports and artifacts. |
| -ports LIST | Set the HTTP-related ports to inspect, such as small or medium aliases or a comma-separated list. |
| -threads N | Set the number of concurrent workers. |
| -chrome-path PATH | Specify the Chromium/Chrome executable path. |
| -nmap | Interpret input as Nmap/Masscan XML. |
| -http-timeout MS | Set the HTTP request timeout in milliseconds. |
| -save-body=false | Skip saving fetched response bodies. |
| -silent | Suppress most normal output. |
Examples
- Review a discovered host list
cat hosts.txt | aquatone -out ./aquatone-exampleProcesses a file of discovered hosts and writes an HTML report and related artifacts.
- Use a smaller port set
cat hosts.txt | aquatone -ports small -out ./aquatone-smallChecks the tool’s small preset of commonly used web ports.
- Choose selected ports and worker count
cat hosts.txt | aquatone -ports 80,443,8080 -threads 8 -out ./aquatone-webSets a custom port list and concurrency.
- Process Nmap XML results
cat scan.xml | aquatone -nmap -out ./aquatone-nmapUses an Nmap/Masscan XML input file rather than a plain hostname list.
- Reduce disk usage
cat hosts.txt | aquatone -save-body=false -out ./aquatone-lightSkips response-body storage while retaining the report workflow.
Documentation: Aquatone project (archived)
Gobuster
Gobuster is a Go-based tool with several modes. Its DNS mode tests candidate subdomain labels against a domain using a wordlist; other modes cover web directories and files, virtual hosts, and more. This section focuses on DNS mode, which is active brute-force enumeration.
How to install
# Kali / Debian
sudo apt update
sudo apt install gobuster
# Optional wordlists package on Kali/Debian
sudo apt install seclists
Syntax
gobuster dns -do DOMAIN -w WORDLIST [OPTIONS]
Basic usage
gobuster dns -do example.com -w /path/to/subdomains.txt
Common command-line options / controls
| Option / control | Purpose |
|---|---|
| dns | Select DNS enumeration mode. |
| -do DOMAIN | Set the domain to enumerate in DNS mode. |
| -w FILE | Provide the candidate-name wordlist. |
| -t N | Set the number of concurrent threads. |
| -r SERVER:PORT | Use a specific DNS resolver. |
| -o FILE | Write results to a file. |
| -i | Show IP addresses with discovered subdomains, where supported by the installed version. |
| –timeout DURATION | Adjust the request timeout where supported; check gobuster dns –help for exact current syntax. |
Examples
- Run DNS mode
gobuster dns -do example.com -w /path/to/subdomains.txtChecks each candidate label from the wordlist.
- Use a specific resolver
gobuster dns -do example.com -w /path/to/subdomains.txt -r 1.1.1.1:53Sends DNS queries to the specified resolver.
- Set moderate concurrency and save output
gobuster dns -do example.com -w /path/to/subdomains.txt -t 20 -o gobuster-dns.txtRuns with 20 threads and records output in a file.
- Include resolved IP addresses
gobuster dns -do example.com -w /path/to/subdomains.txt -iDisplays IP information alongside discovered subdomains when supported.
- Check the installed DNS-mode flags
gobuster dns --helpShows the exact set of options supported by the installed release.
Documentation: Gobuster project
shuffledns
shuffledns is a Go wrapper around MassDNS. It supports active wordlist-based subdomain enumeration, resolving a pre-existing candidate list, and filtering with wildcard handling. It needs the MassDNS binary, a resolver list, and an appropriate wordlist for most enumeration workflows.
How to install
# Install MassDNS using the system package manager where available
sudo apt update
sudo apt install massdns golang-go
# Install shuffledns with a compatible Go toolchain (upstream currently documents Go 1.24+)
go install -v github.com/projectdiscovery/shuffledns/cmd/shuffledns@latest
# Ensure Go binaries are in PATH
export PATH="$PATH:$(go env GOPATH)/bin"
# Check installed versions
massdns -h
shuffledns -h
Syntax
shuffledns -d DOMAIN -w WORDLIST -r RESOLVERS -mode bruteforce [OPTIONS]
Basic usage
shuffledns -d example.com -w /path/to/subdomains.txt -r /path/to/resolvers.txt -mode bruteforce
Common command-line options / controls
| Option / control | Purpose |
|---|---|
| -d DOMAIN | Choose the root domain to find or resolve subdomains for. |
| -w FILE | Supply words to append to the target domain during brute force. |
| -l FILE | Supply a list of full hostnames to resolve. |
| -r FILE | Set a list of DNS resolvers. |
| -tr FILE | Set a list of trusted resolvers. |
| -mode MODE | Choose bruteforce, resolve, or filter mode. |
| -t N | Set MassDNS concurrency; high values can generate substantial DNS traffic. |
| -o FILE | Write results to a file. |
| -sw | Enable strict wildcard checking. |
| -m PATH | Specify the MassDNS executable if it is not auto-detected. |
Examples
- Brute-force candidate subdomains
shuffledns -d example.com -w /path/to/subdomains.txt -r /path/to/resolvers.txt -mode bruteforceTests wordlist candidates and uses the resolver list supplied.
- Resolve a known candidate list
shuffledns -d example.com -l candidates.txt -r /path/to/resolvers.txt -mode resolveChecks which names in a candidate file resolve.
- Save brute-force results
shuffledns -d example.com -w /path/to/subdomains.txt -r /path/to/resolvers.txt -mode bruteforce -o shuffledns-results.txtWrites results to a text file.
- Use strict wildcard checking
shuffledns -d example.com -w /path/to/subdomains.txt -r /path/to/resolvers.txt -mode bruteforce -swApplies stricter wildcard checks to reduce false positives.
- Use a custom MassDNS path
shuffledns -d example.com -w /path/to/subdomains.txt -r /path/to/resolvers.txt -mode bruteforce -m /usr/bin/massdnsExplicitly identifies the MassDNS executable.
Documentation: ProjectDiscovery shuffledns
A practical DNS analysis workflow
- Start with direct records. Query A/AAAA, NS, MX, SOA, TXT, and CAA with
digornslookup. - Gather passive candidates. Compare results from Subfinder, assetfinder, and DNSDumpster. Keep source and timestamp information when possible.
- Validate names carefully. Resolve candidate subdomains, remove duplicates, and account for wildcard DNS or stale public records.
- Run active checks only if authorized. Use a small wordlist and restrained concurrency with dnsenum, dnsmap, DNSRecon, Fierce, Gobuster DNS mode, or shuffledns.
- Review web hosts separately. Aquatone can help visualize already-discovered hosts, but it may connect to several ports and the upstream project is archived.
- Record evidence. Save commands, tool versions, timestamps, source data, and results. Confirm significant findings with the authoritative DNS configuration or the system owner.
How to interpret results
A discovered hostname is not necessarily online, owned by the target organization today, or exposed to the public internet. DNS caching, split-horizon DNS, content delivery networks, wildcard records, third-party services, and stale certificates can all affect results. Resolve important names, inspect the returned record chain, and validate reachability only when that check is in scope.
Final checklist
- Confirm written authorization and domain scope.
- Prefer passive sources before high-volume active queries.
- Use low concurrency and suitable delays for wordlist scans.
- Validate wildcard DNS and stale records to reduce false positives.
- Store findings securely and avoid publishing sensitive internal hostnames or exposed infrastructure details without approval.
Tool interfaces, package names, provider APIs, and default options change over time. Confirm the exact help output and official documentation for the version installed on your system.
