#!/usr/bin/perl #=============================================================================== # # FILE: make_zonelist.pl # # USAGE: ./make_zonelist.pl # # DESCRIPTION: Make a zonelist with a configurable number of zones # # OPTIONS: --- # REQUIREMENTS: --- # BUGS: --- # NOTES: --- # AUTHOR: YOUR NAME (), # COMPANY: # VERSION: 1.0 # CREATED: 20/10/09 16:08:57 # REVISION: --- #=============================================================================== use strict; use warnings; my $max = 10000; my $prefix = "/home/sion/temp/opendnssec/install"; print "\n\n"; print "\n"; foreach my $i (0 .. $max) { print "\t\n"; print "\t\tdefault\n"; print "\t\t$prefix/var/opendnssec/config/opendnssec$i.test.xml\n"; print "\t\t\n"; print "\t\t\t\n"; print "\t\t\t\t$prefix/var/opendnssec/unsigned/opendnssec$i.test\n"; print "\t\t\t\n"; print "\t\t\t\n"; print "\t\t\t\t$prefix/var/opendnssec/signed/opendnssec$i.test\n"; print "\t\t\t\n"; print "\t\t\n"; print "\t\n"; } print "\n";