O'Reilly logo

Kali Linux Intrusion and Exploitation Cookbook by Ishan Girdhar, Dhruv Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using DNS protocol for information gathering

In this recipe, we will learn to use the various tools/scripts available to gather information regarding your web application domain. DNS stands for Domain Name System and can provide you with a great deal of information if you are performing black-box testing.

Getting ready

For this recipe, you will require an Internet connection.

How to do it...

  1. We will use DNSenum for DNS enumeration. To start DNS enumeration, open the terminal and enter the following command:
    dnsenum --enum zonetransfer.me
    
  2. We should get an output with information such as host, name server(s), e-mail server(s), and if we are lucky, a zone transfer:

  3. Next, the DNSRecon tool is also available in Kali Linux. DNSRecon is usually the preferred ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required