Dnssearch – Subdomain enumeration tool

Reconnaissance is the process of gathering information like Subdomains, Ports, CMS, etc. This can be done through automated tools. Dnssearch tool is an automated approached tool that has the potential to enumerate the subdomains of the parent domain. For eg. write.w3wiki.net is the subdomain of w3wiki.net. The functionality is been distributed onto subdomains. Dnssearch tool also gathers the CNAME and A records of subdomains. The dnssearch tool is developed in the Golang language and also performs enumeration tasks in a faster way. The dnssearch tool is available on the GitHub platform, it’s free and open-source to use.

Note: As Dnssearch is a Golang language-based tool, so you need to have a Golang environment on your system. So check this link to download Golang in your system How to Install Go Programming Language in Linux

Installation of Dnssearch Tool in Kali Linux OS

Step 1: Use the following command to install the tool in your Kali Linux operating system.

go get github.com/evilsocket/dnssearch

Step 2: Now use the following command to move into the directory of the tool. You have to move in the directory in order to run the tool.

cd go/bin/

Step 3: Now use the following command to run the tool.

./dnssearch -h

Working with Dnssearch Tool in Kali Linux OS

Example 1: Subdomain Enumeration

./dnssearch -domain w3wiki.net

We are performing subdomain enumeration on the w3wiki.net domain.

We have got the list of subdomains.

Example 2: Show CNAME Records

./dnssearch -domain w3wiki.net -cname

We are displaying the CNAME record of detected subdomains.