Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Dnssearch – Subdomain enumeration tool

  • Last Updated : 28 Nov, 2021

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.geeksforgeeks.org is the subdomain of geeksforgeeks.org. 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 geeksforgeeks.org

We are performing subdomain enumeration on the geeksforgeeks.org domain.

We have got the list of subdomains.

Example 2: Show CNAME Records

./dnssearch -domain geeksforgeeks.org -cname

We are displaying the CNAME record of detected subdomains.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!