perl script to check Bind dns zone files
Introduction –
dns-zone-verify.pl is perl script used to check dns zone file syntax! This script verifies both Forward and Reverse Zone.
Internally perl script is using named-checkzone and named-checkconf. Bind dns commands to check zone file syntax.
Script is reading named.conf file to get all zone
* Download – Please download perl script from following locations…
http://www.indiangnu.org/wp-content/uploads/2012/dns-zone-verify-pl.txt
* How to run/use –
root@localhost~# perl ./dns-zone-verify.pl
* Usage: ./dns-zone-verify.pl { –verify }
root@localhost~# perl ./dns-zone-verify.pl –verify
…
zone myzone_internal.file/IN: loaded serial 2007013101
OK
zone myzone_external.file/IN: loaded serial 2012100527
OK
….
root@localhost~#
Thank you,
Arun Bagul
Similar Posts:
- Script to check – Mail server IP addr is blacklisted or not?
- How to configure Local DNS caching!
- How to rename files extension in given directory recursively?
- How to convert shell script in to binary executable
- Parse FTP server log and send mail for every uploaded files
- How to upgrade Perl on cPanel Server
- Script for checking CPULOAD and send email to admin