Introduction: What is DNS and How to DNS Enumeration

DNS (Domain Name System) is one of the many systems that keeps the Internet humming and is responsible for resolving human-readable hostnames into machine-readable IP addresses. DNS servers host what are known as zones. A DNS zone is a portion of the domain name space that is served by a DNS server, and will contain several DNS records, which are nothing more than key-value pairs of information that will be served to a client depending on the request made to the DNS server.

DNS Enumeration :

DNS server responsible for resolve host name or domain name to there ip address.

Tool : host, Nslookup, dig

host hsploit.com
host -t ns Victim.com
host -t mx Victim.com

Nslookup:

nslookup Victim.com

or
nslookup

set type=ns
VICTIM.com
set type=ms
Victim.com

Dig:

dig Victim.com
dig Victim.com -t mx
dig Victim.com AAAA

============================================================================================================================================================================
__DNS_Zone_Transfer::-

It is a process of copying or replicating a DNS or zone file from primary server to secondary server.

=>Dig, Nslookup and Host::-

  1. host ::
    host -t ns zonetransfer.me ===> nsztm1.digi.ninja.
    host -l zonetransfer.me
  2. Dig ::

dig zonetransfer.me -t ns
dig axfr zonetransfer.me @nsztm1.digi.ninja.

  1. nslookup ::

set type=ns zonetransfer.me

window ::
nslookup

server nsztm1.digi.ninja
set type=any
ls -d zonetransfer.me

  1. automate tool::
    dnsrecon -d zonetransfer.me -t axfr

By admin

Leave a Reply

Your email address will not be published. Required fields are marked *