Overview of dnswalk
dnswalk is a DNS debugger. It performs zone transfers of specified domains and checks the database in numerous ways for internal consistency, and accuracy.
Source: http://sourceforge.net/projects/dnswalk/
Solved dnswalk command not found Error
dnswalk has existed in the old version of Kali Linux, but if you are using the new version of Kali Linux then you cant use dnswalk command.
If you are using dnswalk command you will get the error, dnswalk command not found. running the command as a sudo user may be the solution, but unfortunately, you get the same error.
If you are thinking about the solution of then Install dnswalk command in Kali Linux.
Install dnswalk in Kali Linux
You can install dnswalk like another package, you can install it by using apt-get command or dpkg command.
apt-get command is a better option to install it because it available on the repository of Kali Linux.
Use the following command.
$sudo apt-get install dnswalk
[email protected]:~sudo apt-get install dnswalk [sudo] password for vijay: Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: dnswalk 0 upgraded, 1 newly installed, 0 to remove and 1706 not upgraded. Need to get 20.1 kB of archives. After this operation, 47.1 kB of additional disk space will be used. Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 dnswalk all 2.0.2.dfsg.1-3 [20.1 kB] Fetched 20.1 kB in 13s (1,565 B/s) Selecting previously unselected package dnswalk. (Reading database ... 304678 files and directories currently installed.) Preparing to unpack .../dnswalk_2.0.2.dfsg.1-3_all.deb ... Unpacking dnswalk (2.0.2.dfsg.1-3) ... Setting up dnswalk (2.0.2.dfsg.1-3) ... Processing triggers for man-db (2.9.3-2) ... Processing triggers for kali-menu (2020.3.2) ... [email protected]:~$
dnswalk commands
You can get the information about the dnswalk tool by executing the following command, there are many tools included in dnswalk and can be run by using deference switches.
#dnswalk –help
dnswalk Options
-r Recursively descend sub-domains of the specified domain.
-a Turn on warning of a duplicate A records.
-d Print debugging and ‘status’ information to stderr. (Use only if redirecting stdout).
-m Perform checks only if the zone has been modified since the previous run.
-F Perform “fascist” checking. When checking an A record, compare the PTR name for each IP address with the forward name and report mismatches.
-i Suppress check for invalid characters in a domain name.
-l Perform “lame delegation” checking. For every NS record, check to see that the listed host is indeed returning authoritative answers for this domain.
dnswalk Usage Example
When you are running dnswalk command then you will have to put “.” (d0t) in the end of the domain name for example if the domain name is cyberpedia.in you have to specify cyberpedia.in. Zone transfer is disabled by default in most domains and can be enabled by the administrator. Here is the result disabled zone transfer domain.
If zone transfer is disabled then you can use -f switch to transfer zone forceful.
MODULE 4:- Information Gathering
- How to use dnsenum for dns enumeration – Kali
- How to use dig command in Kali Linux
- whois Kali Linux commands with example
- Enumerating DNS Records through dnsenum tool in Kali Linux
- Email Harvesting by theharvester tool in Kali Linux
- Google Hacking | Open Web Information Gathering
- dnsmap | DNS Domain name system brute force attacks
- Zone Transfer using dnswalk tool
- Website information Gathering through Nikto tool
- Search Senstive Data through Metagoofil Kali Linux 2.0
- 8 Steps to run Maltego Kali Linux – beginner guide
One thought on “dnswalk a zone transfer tool in Kali Linux step by step Tutorial”
Looking forward to trying this! Thanks for posting.