Home / Hack Tools / DNSDICT6 Tool Tutorial | Know your Backtrack HackingLoops

DNSDICT6 Tool Tutorial | Know your Backtrack HackingLoops

DNSDICT6 Tool Tutorial  : Hacking is always fun but only when you know to do the things. All websites available on Net teaches only basic stuff or simple novice level stuff. There is one website which provides Elite level tutorials and Concepts. To strengthen our Name, we are starting a sub-level Campaign KYB (Know your Backtrack) under BEHC (Born Ethical hackers Club) campaign. In KYB campaign, we will teach all the Backtrack Hacking Tools to Hackers. This is the First tutorial in this series. Today we will learn DNSDICT6 Hacking Tool. So lets begin our learning..

DNSDICT6 Tool Tutorial
DNSDICT6 Tool Tutorial

DNSDICT6 Tool Tutorial : BASICS

DNSDICT6 is a Information Gathering tool provided with Backtrack. This tool is used to find all the sub-domains of a website or web server. The most advanced use of DSNDICT6 is to enumerate all IPv4 and IPv6 addresses and extract the dumps like sub-domains, IP information. This tool is quite a powerful tool because it also extracts those sub domains which are restricted or invisible for users.

Basic Syntax of DNSDICT6 is :

Syntax of DNSDICT6
Syntax of DNSDICT6

For example :

dnsdict6 -d4 google.com  ( This will extract all sub-domains of google and their IPv4 and IPv6 information.

There are certain Parameters that we can use with dnsdict6 :

  1. -d is used to display information on Name Servers and MX Records
  2. -4 is used to dump IPv4 addresses.
  3. There are four types of dictionary which are already inbuilt in this tool. -s(mall=50), -m(edium=796) (DEFAULT) -l(arge=1416), or -x(treme=3211).
  4. -t is used to specify no. of threads.

Advanced Example of DNSDICT6:

dnsdict6 -d46 -x -s -t 10 google.com ( This will extract all the sub-domains of Google with their IPv4 and IPv6 information).

 Now lets learn How to use DNSDICT6.

DNSDICT6 Tool Tutorial Step by Step:

1. First of all start your Backtrack Linux. Now to start DNSDICT6 we have multiple ways.
a. Go by GUI Menu Based options :
Applications –> BackTrack –> Information Gathering –> Network Analysis –> DNS Analysis –> DNSDICT6

b. Open the terminal and type DNSDICT6 to open the tool.

2. After doing above step we will see something like :

DNSDICT6 Tutorial Screen 1
DNSDICT6 Tutorial Screen 1

Above snapshot shows the basic structure of DNSDICT6 syntax and parameters that we can use on it.

3.Now say we want to Enumerate all the sub-domains on a website say google.com. Then type the command :

dnsdict6 -d46 -s -t 20 google.com

The above command will enumerate all IPv4 and IPv6 information of all sub-domains of google.com and -s will perform service guessing and 20 is the number of threads running simultaneously to achieve it.

DNSDICT6 Sample Query Run
DNSDICT6 Sample Query Run

The below snap shot shows the output of above command :

Output of DNSDICT6 Sample Query Execution
Output of DNSDICT6 Sample Query Execution

Now for advanced usage, we can also incorporate the Dictionary in our DNSDICT6 command.

First of all we need to locate the dictionary file. If don’t have create a sample dictionary file on your Virtual Machine Backtrack Desktop say dictionary.txt is file name on desktop.

Now the command will be :

dnsdict6 -d46 -s -t 20 google.com ~/Desktop/dictionary.txt

Now it will only extract those sub-domains whose keywords match with dictionary words. Below is the output of above execution :

DNSDICT6 Dictionary Brute Force Attack
DNSDICT6 Dictionary Brute Force Attack

The dictionary based attack is also known as DNSDICT6 Dictionary Brute force attack. This extract only that information that we wish to extract. So its the best attack but for this we need to make our dictionary most powerful. There are several Hacking Database dictionaries available online. You can give them a try.
That’s all about DNSDICT6 Information Gathering Tool.

We hope you all appreciate Hackingloops BEHC campaign and its sub campaign KYB ( Know you Backtrack). If you have any queries or doubts ask us in form of comments.

About Lokesh Singh

Hello Friends, i am Lokesh Singh, certified Ethical hacker ( CEH, SSA, CSIF , CISSP). Have 8+ years of extensive experience in Ethical Hacking, Cyber Security and Penetration Testing domain.


  1. Now a days ..backtrack has become obsolete so can we replace it with Kali Linux

  2. Sir Lokesh, I’d like to know how to create the dictionary file for example! Thanks for you great hacking technique training sir!

    • Hello Yan,

      Its quite easy to create dictionary files. Its a simple txt file. There are multiple ways for doing it like download existing dictionary files from online resources, second you can use tools to create custom dictionary txt file for you.

  3. this is amazing you are doing a great work for students and learners by seeing your site we accomplished our task of hacking thanking you you are greatful

Have any Suggestions? Compliments? Why not comment then?