Tools & Utility

dnsEnum

A powerful multithreaded Perl script for DNS enumeration and information gathering.

#dns#enumeration#reconnaissance#perl

dnsenum: DNS Enumeration and Information Gathering

dnsenum is a multithreaded Perl script designed to automate DNS enumeration, making it an essential tool for penetration testers, ethical hackers, and forensics experts.

Features

  • 🔍 Extracts A Records – Identifies host IP addresses
  • 🔍 Finds Name Servers (NS) – Discovers authoritative DNS servers
  • 🔍 Collects Mail (MX) Records
  • 🔍 Performs Zone Transfers (AXFR)
  • 🔍 Google Scraping – Finds additional subdomains
  • 🔍 Brute-Forces Subdomains
  • 🔍 Performs WHOIS Queries
  • 🔍 Reverse Lookups

Installation

bash
sudo apt install dnsenum

Usage

bash
# Simple DNS Enumeration
dnsenum example.com

Save output to XML

dnsenum --noreverse -o results.xml example.com

Custom DNS Server

dnsenum --dnsserver 8.8.8.8 example.com

Brute-Force Subdomains

dnsenum -f subdomains.txt example.com

Google Scraping

dnsenum -s 20 -p 5 example.com

Zone Transfer

dnsenum --enum example.com

WHOIS Lookup

dnsenum -w example.com