zsuUpdate serial numbers in DNS zone files | |
Download |
zsu Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Andras Salamon
- Publisher web site:
- http://search.cpan.org/~azs/
zsu Tags
zsu Description
Update serial numbers in DNS zone files zsu is a Perl module that expects one or more zonefile names as arguments. The command zsu /etc/db.local 0.0.127.in-add.arpa /var/named/db.example.com will update the serial numbers in each of the three zone files listed.zsu is most commonly used as part of a revision control system for zone files, just before changes are committed to a repository. The following simple script demonstrates this. The script expects a single zonefile name as an argument, and relies on ci/co/rcsdiff (all parts of RCS, from ftp://ftp.cs.purdue.edu/pub/RCS/ ): #!/bin/sh co -l $1 vi $1 rcsdiff -q $1 > /dev/null if ; then zsu -cf $1 ci -u $1 fizsu will ignore zone files where the originating host in the SOA record does not match the local hostname. Use the -f option to override this check.SYNOPSISzsu zone ... Requirements: · Perl
zsu Related Software