Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
dns-zone-transfer-test — Automates Domain Name System (DNS) zone transfer testing. Checks for CVE-1999-0532 by automatically finding a given domains nameservers, and tests for zone transfers, if successful, subdomains are printed to standard output. | Kitploit
Tools/GitHubGitHub/rodney-o-c-melby/dns-zone-transfer-test
ReconnaissanceVulnerability ScannersInformation GatheringNetwork SecuritySubdomain EnumerationDNS Analysis
GitHubrodney-o-c-melby/dns-zone-transfer-test

dns-zone-transfer-test

Automates Domain Name System (DNS) zone transfer testing. Checks for CVE-1999-0532 by automatically finding a given domains nameservers, and tests for zone transfers, if successful, subdomains are printed to standard output.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
31 year agoNot yet reviewed

DNS Zone Transfer Test

Automates Domain Name System (DNS) zone transfer testing.

Automatically finds a given domains nameservers, and tests for zone transfers, if successfully, identified A records are printed to standard output.

Usage

root@kitploit:~
dztt zonetransfer.me
dztt -f domains.txt
dztt -n 1.1.1.1 zonetransfer.me

Requirements

root@kitploit:~
git >= 2.36.0
python >= 3.9
pip >= 20.3.4

Use without System Installation

Ensure system packages in requirements are installed, Download the repository.

root@kitploit:~
sudo pacman -Syu git python pip | sudo apt install git python pip
git clone https://github.com/Rodney-O-C-Melby/zone-transfer-tester.git

Install pip dependancies, and run program.

root@kitploit:~
pip install dnspython
python dns-zone-transfer-test/src/dns-zone-transfer-test/dztt

Or create a virtual enviroment, install pip dependancies into virtual enviroment, run program from virtual enviroment.

root@kitploit:~
python -m venv test
test/bin/pip install dnspython
test/bin/python dns-zone-transfer-test/src/dns-zone-transfer-test/dztt

System Installation of dztt

Download the repository change to the relevant directory, and install the PIP package.

root@kitploit:~
git clone https://github.com/Rodney-O-C-Melby/zone-transfer-tester.git  
cd dns-zone-transfer-test
pip install .

Then add the python scripts directory to your PATH environment variable.

root@kitploit:~
python get_scripts_path.py

Add the output to PATH or only use dztt within this directory using:

root@kitploit:~
python src/dns-zone-transfer-test/dztt

Help

root@kitploit:~
usage: dztt [-h] [-f FILE] [-n NAMESERVER] target

DNS Zone Transfer Test: dztt tests IP's or domains for zone transfers. (XFR)

positional arguments:
  target                Target IP or Domain name to test

options:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  file of domain names to test, one per line
  -n NAMESERVER, --nameserver NAMESERVER
                        DNS IP for target DNS query, defaults to local DNS

### EXAMPLES ###
dztt  
dztt zonetransfer.me
dztt -f domains.txt  
dztt -n 1.1.1.1 zonetransfer.me  
dztt -f domains.txt -n 1.1.1.1

Output

A domain that is vulnerable to zone transfers will print the following message to standard out, and print each identified subdomain.

root@kitploit:~
zonetransfer.me is VULNERABLE to DNS Zone Transfers!!!  
Found 34 subdomains at zonetransfer.me  

A domain that is not vulnerable to zone transfers will print the following message to standard out.

root@kitploit:~
nmap.org is SECURE against DNS Zone Transfers :-)  

or

root@kitploit:~
nmap.org is VERY SECURE against DNS Zone Transfers :-)  

Input

Accepts a file containing domain names to test, one per line.

root@kitploit:~
dztt -f domains.txt

PIP Requirements

root@kitploit:~
dnspython >= 2.2.1
Download Tool