Back to Scanning Techniques

DNS Scanning

Explore the world of DNS Scanning: Learn techniques, tools, and see it in action.

What is DNS Scanning?

DNS scanning is the process of querying Domain Name System (DNS) servers to gather information about domain names, IP addresses, and other DNS records. This technique is used for network reconnaissance, security assessments, and troubleshooting DNS-related issues.

Types of DNS Scanning

Forward DNS Lookup

Resolves domain names to IP addresses.

Reverse DNS Lookup

Resolves IP addresses to domain names.

DNS Zone Transfer

Attempts to retrieve all DNS records for a domain from its authoritative name server.

DNS Enumeration

Discovers subdomains and other DNS records associated with a domain.

DNS Scanning Tools and Commands

dig

A flexible command-line DNS lookup utility.

dig example.com

Performs a basic DNS lookup for example.com, returning A records by default.

dig example.com MX

Queries the MX (mail exchanger) records for example.com.

dig -x 192.0.2.1

Performs a reverse DNS lookup for the IP address 192.0.2.1.

DNS Scanning Video Tutorial

DNS Scanning Visualization

Ready to scan