#!/usr/local/bin/perl # master_form.cgi # Form for creating a new master zone require './dns-lib.pl'; &ReadParse(); &header("Create Master Zone", ""); %access = &get_module_acl(); $access{'master'} || &error("You cannot create master zones"); print &ui_hr(); print "
\n"; print "\n"; print "\n"; print "
New master zone options
\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; printf "\n", &get_system_hostname(); print "\n"; print "\n"; &get_zone_defaults(\%zd); print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "
Zone type\n"; print "Forward (Names to Addresses)\n"; print "  \n"; print "Reverse (Addresses to Names)
Domain name / Network
Records file \n"; print " Automatic\n"; print "\n"; print "",&file_chooser_button("file"),"
Master server
Owner's email address
Refresh time secondsTransfer retry time seconds
Expiry time secondsDefault time-to-live seconds

\n"; print "
\n"; print &ui_hr(); &footer("", "zone list");