#! /usr/bin/perl -w use Sys::Syslog; my $statusFile = '/opt/bin/updatedns.status'; my $template = '/opt/bin/updatedns.template'; my $nsupdate = '/usr/bin/nsupdate'; my $keyfile = '/opt/bin/keys/Kdyndd.net.+157+35226.key'; my $entries; sub doUpdateNS { my ($hostname, $ip) = @_; my $nsupdateFileName = "/tmp/$hostname.nsupdate"; open TEMPLATE, "<$template" or die "could not open template $template for read: $!\n"; my $template = join( '',