#!/usr/local/bin/perl # edit_record.cgi # Edit an existing record of some type require './dns-lib.pl'; &ReadParse(); $conf = &get_config(); $zconf = $conf->[$in{'index'}]; $dom = $zconf->{'values'}->[0]; %access = &get_module_acl(); &can_edit_zone(\%access, $dom) || &error("You are not allowed to edit records in this zone"); &header("Edit $code_map{$in{'type'}}", ""); print "