Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
May the source be with you, but remember the KISS principle ;-)
Skepticism and critical thinking is not panacea, but can help to understand the world better

Perl DNS Tools

Old News ;-) See Also Recommended Links dig Audit_scripts Zone Generators
  Web-based tools DNS Security  Random Findings Humor Etc

There is an old slides by Cricket Liu  A Survey of DNS Tools  It contains a comparison of nslookup, dig, host, doc, dnswalk, dnsparse and h2n. Slides were presented in February 1993 so they are really old.

Personally I prefer Perl-based DNS tools and this page is devoted almost exclusively to them. For more general page please see an excellent  DNS tools site.

There are two supplementary pages for this page:

Dr. Nikolai Bezroukov

Top Visited
Past week
Past month


Old News ;-)

[Jun 19, 2008] DNSSEC-Tools 1.4 by Wes Hardaker

About: The DNSSEC-Tools package is a collection of tools, scripts, Perl modules, C libraries, and application patches that are useful for DNS zone administrators and end users to deploy DNS Security (DNSSEC).

Changes: Many improvements were made to the documentation, trust anchor management, key rollover, and zone signing. The validating library has received a number of improvements. There is a new shim library that can be used to bring any application into DNSSEC compliance without recompiling it. Many other changes were made

Net::DNS is a DNS resolver implemented in Perl. It allows the programmer to perform nearly any type of DNS query from a Perl script. For details and examples, please read the Net::DNS manual pages. To read about the latest features, see the Changes file. To find out about known bugs and to see what's planned for future versions, see the TODO file.

Net::DNS does not depend on any C libraries. However, if possible Net::DNS tries to link to the libresolv library. This provides a notable speed increase.

The author invites feedback on Net::DNS. If there's something you'd like to have added, please let me know. If you find a bug, please follow the instructions below.

The current release version of Net::DNS is: 0.58

New releases and developments are announced on the "Bl

RFC1713 Tools for DNS debugging

[fm] checkservice

Checkservice is a Perl script that monitors services on remote hosts. It uses plugins to provide a more thorough check than just a socket check, and can be configured to check multiple services on multiple hosts using two different methods (simple and extended). It is able to write logs and when running in the background enables warnings. It features a beep-, mail-, and SMS-warning system.

mkrdns An automatic reverse DNS zone generator

About: mkrdns is a small Perl script that helps automate changes to your DNS zone files. It does this by reading your named.boot/named.conf file to find all the domains/networks for which you are authoritative. It then reads all of the forward zone files and generates PTR records which it inserts in the reverse zone maps.

Changes: mkrdns incorrectly assumed that commands in named.conf files would be on seperate lines in some cases. This could cause mkrdns to ignore other multiple commands on a single line.

[Jan 28, 2006] DNS Sleuth a DNS checker.

With both a command-line interface and a web interface, sleuth will check whether the configuration of your DNS complies with the RFCs. It will give you warnings for some things and errors when it sees something completely wrong. The best part is it will tell you what is wrong and reference the RFC so you can see for yourself why it's bad and how to fix it. No more guessing if it's correct or not--fast and thorough. It requires Perl and the Net::DNS Perl module.

[Jul 14, 2005] Automating Windows (DNS) with Perl

Perl is a fantastic tool for system administrators -- even on Windows. Though the shiny GUI is astonishingly useless (or at least too mouse-friendly) for all but the simplest changes, there's plenty to automate under the shell. Thomas Herchenroeder explains how he wrapped dnscmd with Perl to make changes easily. []

Simple Dynamic DNS

Simple Dynamic DNS is a very light and simple set of Perl scripts to provide DNS support for users with dynamic IPs. The server is a CGI which waits for a client connection, then authenticates and changes the user IP. The cron script will check every N minutes for changes in the zones specified in the config files, and if any, it rebuilds the Bind zone from the latest updated IPs.


DNSSEC Walker is a tool to recover DNS zonefiles using the DNS protocol. The server does not have to support zonetransfer, but the zone must contain DNSSEC "NXT" or "NSEC" records. Optionally, it can also verify DNSSEC signatures on the RRsets within the zone.


ldapdns is a robust DNS server that forwards DNS requests to your LDAP directory. This means that changes to your LDAP directory will take affect immediately (no intermediate commands to run, and no cron jobs to wait for).


Sauron is a free DNS/DHCP management system with Web and command line interfaces. It is able to manage multiple DNS/DHCP servers. Complete dhcpd and named configurations are generated from a central SQL database.


Checks the integrity of a domain; maintained by Brad Knowles.

This version works with BIND 9, but there is also a version for BIND 8. (version 2.2.3 of 25-Jul-2001, checked 08-Sep-2004)

dnswalk - a DNS database debugger- v. 2.02 of the dnswalk DNS debugger. It performs zone transfers of specified domains and checks the database in numerous ways.

Recommended Links

Google matched content

Softpanorama Recommended

Top articles


Random Findings

Commercial products


The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D

Copyright 1996-2018 by Dr. Nikolai Bezroukov. was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) in the author free time and without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to make a contribution, supporting development of this site and speed up access. In case is down you can use the at


The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.

The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March 12, 2019