bind8/ 0040755 0005671 0000012 00000000000 10253725330 011546 5 ustar jcameron wheel bind8/master_form.cgi 0100755 0005671 0000012 00000007352 10233321233 014547 0 ustar jcameron wheel #!/usr/local/bin/perl # master_form.cgi # Form for creating a new master zone require './bind8-lib.pl'; &ReadParse(); $access{'master'} || &error($text{'mcreate_ecannot'}); &ui_print_header(undef, $text{'mcreate_title'}, ""); print "
\n"; &ui_print_footer("", $text{'index_return'}); bind8/bind8-lib.pl 0100644 0005671 0000012 00000156530 10253725244 013666 0 ustar jcameron wheel # bind8-lib.pl # Common functions for bind8 config files do '../web-lib.pl'; &init_config(); do 'records-lib.pl'; require '../ui-lib.pl'; @extra_forward = split(/\s+/, $config{'extra_forward'}); @extra_reverse = split(/\s+/, $config{'extra_reverse'}); %is_extra = map { $_, 1 } (@extra_forward, @extra_reverse); %access = &get_module_acl(); $zone_names_cache = "$module_config_directory/zone-names"; $zone_names_version = 2; if (open(VERSION, "$module_config_directory/version")) { chop($bind_version =| $text{'forwarding_ip'} | ". "$text{'forwarding_port'} |
| \n"; $rv .= " | \n"; $rv .= " |
| $text{'index_zone'} | ", "$text{'index_type'} | |
| ",&ui_checkbox("d", $_[3]->[$i])," | \n"; print "[$i]\">$_[1]->[$i] | \n"; print "$_[2]->[$i] | \n"; print "
$out"; } } else { # Kill the process local $pidfile = &get_pid_file(); local $pid = &check_pid_file(&make_chroot($pidfile, 1)); if (!$pid || !&kill_logged('TERM', $pid)) { return $text{'stop_epid'}; } } return undef; } # version_atleast(v1, v2, v3) sub version_atleast { local @vsp = split(/\./, $bind_version); local $i; for($i=0; $i<@vsp || $i<@_; $i++) { return 0 if ($vsp[$i] < $_[$i]); return 1 if ($vsp[$i] > $_[$i]); } return 1; # same! } # get_zone_index(name, [view]) # Returns the index of some zone in the real on-disk configuration sub get_zone_index { undef(@get_config_cache); local $conf = &get_config(); local $vconf = $_[1] ne '' ? $conf->[$in{'view'}]->{'members'} : $conf; local $c; foreach $c (@$vconf) { if ($c->{'name'} eq 'zone' && $c->{'value'} eq $_[0]) { return $c->{'index'}; } } return undef; } # create_zone(&zone, &conf, [view-idx]) # Convenience function for adding a new zone sub create_zone { local ($dir, $conf, $viewidx) = @_; if ($viewidx ne "") { # Adding inside a view local $view = $conf->[$viewidx]; &lock_file(&make_chroot($view->{'file'})); &save_directive($view, undef, [ $dir ], 1); &flush_file_lines(); &unlock_file(&make_chroot($view->{'file'})); } else { # Adding at top level $dir->{'file'} = &add_to_file(); local $pconf = &get_config_parent($dir->{'file'}); &lock_file(&make_chroot($dir->{'file'})); &save_directive($pconf, undef, [ $dir ], 0); &flush_file_lines(); &unlock_file(&make_chroot($dir->{'file'})); } } $heiropen_file = "$module_config_directory/heiropen"; # get_heiropen() # Returns an array of open categories sub get_heiropen { open(HEIROPEN, $heiropen_file); local @heiropen =
\n"; @recs = &read_zone_file($zone->{'file'}, $dom); if ($dom =~ /in-addr\.arpa/i || $dom =~ /\.$ipv6revzone/i) { @rcodes = ("PTR", "NS"); } else { @rcodes = ("A", "NS", "CNAME", "MX", "HINFO", "TXT", "WKS", "RP"); if ($config{'support_aaaa'}) { push(@rcodes, "AAAA"); } } foreach $c (@rcodes) { $rnum{$c} = 0; } foreach $r (@recs) { $rnum{$r->{'type'}}++; if ($r->{'type'} eq "SOA") { $soa = $r; } } if ($config{'show_list'}) { # display as list $mid = int((@rcodes+1)/2); print "
| \n"; &types_table(@rcodes[0..$mid-1]); print " | \n"; &types_table(@rcodes[$mid..$#rcodes]); print " |
| $text{'master_type'} | ", "$text{'master_records'} |
| ", $text{"type_$_[$i]"}," | \n"; print "$rnum{$_[$i]} |
\n"; } print "
\n"; &ui_print_footer(($tv eq "master" ? "edit_master.cgi" : $tv eq "forward" ? "edit_forward.cgi" : "edit_slave.cgi"). "?index=$in{'index'}&view=$in{'view'}", $text{'master_return'}); bind8/config-turbo-linux 0100644 0005671 0000012 00000000767 10223111757 015232 0 ustar jcameron wheel soa_style=1 named_path=/usr/sbin/named named_conf=/etc/named.conf show_list=0 records_order=1 max_zones=50 rev_def=0 support_aaaa=0 allow_comments=0 allow_wild=0 allow_long=0 master_ttl=1 whois_cmd=whois short_names=0 updserial_def=0 updserial_on=1 updserial_man=1 ndc_cmd=ndc forwardzonefilename_format=ZONE.hosts reversezonefilename_format=ZONE.rev rev_must=0 ipv6_mode=1 allow_underscore=1 by_view=0 confirm_zone=1 confirm_rec=0 no_chroot=0 relative_paths=0 rndc_cmd=rndc no_pid_chroot=0 soa_start=0 bind8/create_slave.cgi 0100755 0005671 0000012 00000006326 10246007310 014667 0 ustar jcameron wheel #!/usr/local/bin/perl # create_slave.cgi # Create a new slave zone # Modified by Howard Wilkinson\n"; if ($len) { # sort list of zones @zorder = sort { $ztitles[$a] cmp $ztitles[$b] } (0 .. $len-1); @zlinks = map { $zlinks[$_] } @zorder; @ztitles = map { $ztitles[$_] } @zorder; @zicons = map { $zicons[$_] } @zorder; @ztypes = map { $ztypes[$_] } @zorder; @zdels = map { $zdels[$_] } @zorder; if ($config{'show_list'}) { # display as list $mid = int((@zlinks+1)/2); print &ui_form_start("mass_delete.cgi", "post"); print "
| \n"; &zones_table([ @zlinks[0 .. $mid-1] ], [ @ztitles[0 .. $mid-1] ], [ @ztypes[0 .. $mid-1] ], [ @zdels[0 .. $mid-1] ] ); print " | \n"; if ($mid < @zlinks) { &zones_table([ @zlinks[$mid .. $#zlinks] ], [ @ztitles[$mid .. $#ztitles] ], [ @ztypes[$mid .. $#ztypes] ], [ @zdels[$mid .. $#zdels] ]); } print " |
\n"; } &ui_print_footer("", $text{'index_return'}); bind8/acl_security.pl 0100644 0005671 0000012 00000021717 10233320374 014573 0 ustar jcameron wheel require 'bind8-lib.pl'; # acl_security_form(&options) # Output HTML for editing security options for the bind8 module sub acl_security_form { local $m = $_[0]->{'zones'} eq '*' ? 1 : $_[0]->{'zones'} =~ /^\!/ ? 2 : 0; print "
| \n";
printf " %s \n", $m == 1 ? 'checked' : '', $text{'acl_zall'}; printf " %s \n", $m == 0 ? 'checked' : '', $text{'acl_zsel'}; printf " %s | \n",
$m == 2 ? 'checked' : '', $text{'acl_znsel'};
print "
| \n";
printf " %s \n", $m == 1 ? 'checked' : '', $text{'acl_vall'}; printf " %s \n", $m == 0 ? 'checked' : '', $text{'acl_vsel'}; printf " %s | \n",
$m == 2 ? 'checked' : '', $text{'acl_vnsel'};
print "
| $text{'fcreate_opts'} | ||||||||||||||||
| ||||||||||||||||
\n"; print "\n"; print "
\n"; if ($type eq 'hint') { print $text{'delete_mesg2'},"
\n"; } else { print &text('delete_mesg', "".&ip6int_to_net(&arpa_to_ip( $zconf->{'value'})).""),"
\n"; } print "
".join("
", map { "$_->[0]->{'host'} : $_->[1]" }
@slaveerrs)));
}
}
&redirect("");
sub slave_error_handler
{
$slave_error = $_[0];
}
bind8/conf_servers.cgi 0100755 0005671 0000012 00000004204 10231647376 014741 0 ustar jcameron wheel #!/usr/local/bin/perl
# conf_servers.cgi
# Display options for other DNS servers
require './bind8-lib.pl';
$access{'defaults'} || &error($text{'servers_ecannot'});
&ui_print_header(undef, $text{'servers_title'}, "");
$conf = &get_config();
@servers = ( &find("server", $conf), { } );
@keys = &find("key", $conf);
print "
| $text{'servers_ip'} | ", "$text{'servers_bogus'} | ", "$text{'servers_format'} | ", "$text{'servers_trans'} | ", (@keys ? "$text{'servers_keys'} | " : ""), "
| \n", $s->{'value'}; $bogus = &find_value("bogus", $s->{'members'}); printf " | %s\n", lc($bogus) eq 'yes' ? "checked" : "", $text{'yes'}; printf " %s | \n", lc($bogus) eq 'yes' ? "" : "checked", $text{'no'}; $format = &find_value("transfer-format", $s->{'members'}); printf "%s\n", lc($format) eq 'one-answer' ? "checked" : "", $text{'servers_one'}; printf " %s\n", lc($format) eq 'many-answers' ? "checked" : "", $text{'servers_many'}; printf " %s | \n", $format ? "" : "checked", $text{'default'}; printf "\n", &find_value("transfers", $s->{'members'}); if (@keys) { local %haskey; $keys = &find("keys", $s->{'members'}); foreach $k (@{$keys->{'members'}}) { $haskey{$k->{'name'}}++; } print " | \n"; foreach $k (@keys) { local $v = $k->{'value'}; printf " %s\n", $v, $haskey{$v} ? "checked" : "", $v; } print " | \n"; } print "
| \n"; &types_table(@rcodes[0..$mid-1]); print " | \n"; &types_table(@rcodes[$mid..$#rcodes]); print " |
| \n"; print "\n"; print " | $text{'master_delmsg'}\n"; if ($dom !~ /in-addr\.arpa/i && $dom !~ /\.$ipv6revzone/i) { print "$text{'master_delrev'}\n"; } print " |
| \n"; print "\n"; $args = $view ? "$dom IN $view->{'value'}" : $dom; $cmd = &has_ndc() == 2 ? $config{'rndc_cmd'} : $config{'ndc_cmd'}; print " | ",&text('master_applymsg', "$cmd reload $args"); print " |
| $text{'master_type'} | ", "$text{'master_records'} |
| ", $text{"recs_$_[$i]"}," | \n"; print "$rnum{$_[$i]} |
",&text('index_enamed', "$config{'named_path'}", "$gconfig{'webprefix'}/config.cgi?$module_name"),"
\n"; &ui_print_footer("/", $text{"index"}); exit; } # Check if BIND is the right version.. Only BIND 8/9 offers the -f option # Is there a better way to do this? if ($out = &check_bind_8()) { &ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1, 0, &help_search_link("bind", "doc", "google")); print "
",&text('index_eversion', "$config{'named_path'}", "/dnsadmin/", "$config{'named_path'} -help", "
$out"),"
\n"; &ui_print_footer("/", $text{"index"}); exit; } # Try to get the version number $out = `$config{'named_path'} -v 2>&1`; if ($out =~ /(bind|named)\s+([0-9\.]+)/i) { $bind_version = $2; } &open_tempfile(VERSION, ">$module_config_directory/version"); &print_tempfile(VERSION, "$bind_version\n"); &close_tempfile(VERSION); # Get the list of zones @allzones = &list_zone_names(); @zones = grep { $_->{'type'} ne 'view' && &can_edit_zone($_) && (!$access{'ro'} || $_->{'name'} ne '.') } @allzones; @views = grep { $_->{'type'} eq 'view' } @allzones; ($hashint) = grep { $_->{'type'} ne 'view' && $_->{'name'} eq '.' } @allzones; if (@zones == 1 && $access{'zones'} ne '*' && !$access{'defaults'} && !$access{'views'} && $access{'apply'} != 1 && !$access{'master'} && !$access{'slave'} && !$access{'forward'} && $access{'noconfig'}) { # Only one zone, so go direct to it &redirect("edit_master.cgi?index=$zones[0]->{'index'}"); exit; } &ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1, 0, &help_search_link("bind", "doc", "google"), undef, undef, &text('index_version', $bind_version)); # If the named.boot file does not exist, offer to create it if ($need_create) { print &text('index_eempty', "".&make_chroot($config{'named_conf'}).""),"
\n"; print "
\n"; print " ", "$text{'index_download'}
\n"; print " $text{'index_webmin'}
\n"; print "
$text{'index_toomany'}
\n"; print "
| \n"; &zones_table([ @zlinks[0 .. $mid-1] ], [ @ztitles[0 .. $mid-1] ], [ @ztypes[0 .. $mid-1] ], [ @zdels[0 .. $mid-1] ] ); print " | \n"; if ($mid < @zlinks) { &zones_table([ @zlinks[$mid .. $#zlinks] ], [ @ztitles[$mid .. $#ztitles] ], [ @ztypes[$mid .. $#ztypes] ], [ @zdels[$mid .. $#zdels] ]); } print " |
| \n"; &zones_table([ @zlinks[0 .. $mid-1] ], [ @ztitles[0 .. $mid-1] ], [ @ztypes[0 .. $mid-1] ], [ @zdels[0 .. $mid-1] ]); print " | \n"; if ($mid < @zlinks) { &zones_table([ @zlinks[$mid .. $#zlinks] ], [ @ztitles[$mid .. $#ztitles] ], [ @ztypes[$mid .. $#ztypes] ], [ @zdels[$mid .. $#zdels] ]); } print " |
\n"; } &show_buttons(); if ($access{'views'} && $bind_version >= 9) { # Display list of views print "
\n"; } print "$text{'index_addview'}
\n" if (!$access{'ro'} && $access{'views'} != 2); } # read the PID $pidfile = &get_pid_file(); if (!$access{'ro'} && $access{'apply'} == 1) { print "
$1\n",
}
}
else {
# Is the root
print "
$text{'index_all'}\n";
}
if ($zhash{$name}) {
print "".join("
", map { "$_->[0]->{'host'} : $_->[1]" }
@slaveerrs)));
}
}
&redirect("edit_master.cgi?index=$idx&view=$in{'view'}");
bind8/edit_slave.cgi 0100755 0005671 0000012 00000010015 10245760057 014354 0 ustar jcameron wheel #!/usr/local/bin/perl
# edit_slave.cgi
# Display records and other info for an existing slave or stub zone
require './bind8-lib.pl';
&ReadParse();
$zone = &get_zone_name($in{'index'}, $in{'view'});
$dom = $zone->{'name'};
&can_edit_zone($zone) ||
&error($text{'slave_ecannot'});
$desc = &ip6int_to_net(&arpa_to_ip($dom));
if ($zone->{'file'}) {
@st = stat(&make_chroot($zone->{'file'}));
$lasttrans = &text('slave_last', @st && $st[7] ? &make_date($st[9])
: $text{'slave_never'});
}
&ui_print_header($desc, $0 =~ /edit_slave/ ? $text{'slave_title'}
: $text{'stub_title'},
"", undef, 0, 0, 0, undef, undef, undef, $lasttrans);
if ($zone->{'file'}) {
print "
\n"; @recs = &read_zone_file($zone->{'file'}, $dom); if ($dom =~ /in-addr\.arpa/i || $dom =~ /\.$ipv6revzone/i) { @rcodes = ("PTR", "NS"); } else { @rcodes = ("A", "NS", "CNAME", "MX", "HINFO", "TXT", "WKS", "RP"); if ($config{'support_aaaa'}) { push(@rcodes, "AAAA"); } } foreach $c (@rcodes) { $rnum{$c} = 0; } foreach $r (@recs) { $rnum{$r->{'type'}}++; if ($r->{'type'} eq "SOA") { $soa = $r; } } if ($config{'show_list'}) { # display as list $mid = int((@rcodes+1)/2); print "
| \n"; &types_table(@rcodes[0..$mid-1]); print " | \n"; &types_table(@rcodes[$mid..$#rcodes]); print " |
| \n"; print "\n"; print " | $text{'slave_delmsg'}\n"; print " |
| \n"; print "\n"; $args = $view ? "$dom IN $view->{'value'}" : $dom; $cmd = &has_ndc() == 2 ? $config{'rndc_cmd'} : $config{'ndc_cmd'}; print " | ",&text('slave_applymsg', "$cmd reload $args"); print " |
| $text{'master_type'} | ", "$text{'master_records'} |
| ", $text{"type_$_[$i]"}," | \n"; print "$rnum{$_[$i]} |
| $text{'master_params'} | ||||||||||||||||||
| ||||||||||||||||||
\n"; &ui_print_footer("edit_master.cgi?index=$in{'index'}&view=$in{'view'}", $text{'master_return'}); bind8/config.info.ru_SU 0100644 0005671 0000012 00000004033 10067401527 014723 0 ustar jcameron wheel line0=ðÕÔÉ BIND,11 chroot=ëÁÔÁÌÏÇ chroot, ÉÚ ËÏÔÏÒÏÇÏ ÂÕÄÅÔ ÚÁÐÕÓËÁÔØÓÑ BIND,3,ðÏ ÕÍÏÌÞÁÎÉÀ named_user=ðÏÌØÚÏ×ÁÔÅÌØ, ÏÔ ËÏÔÏÒÏÇÏ ÂÕÄÅÔ ÚÁÐÕÓËÁÔØÓÑ BIND,3,ðÏ ÕÍÏÌÞÁÎÉÀ named_group=çÒÕÐÐÁ, ÏÔ ËÏÔÏÒÏÊ ÂÕÄÅÔ ÚÁÐÕÓËÁÔØÓÑ BIND,3,ðÏ ÕÍÏÌÞÁÎÉÀ zones_file=äÏÂÁ×ÉÔØ ÎÏ×ÙÅ ÚÏÎÙ × ÆÁÊÌ,3,named.conf line1=ðÁÒÁÍÅÔÒÙ ÏÔÏÂÒÁÖÅÎÉÑ,11 show_list=ðÏËÁÚÙ×ÁÔØ ÄÏÍÅÎÙ ËÁË,1,0-ðÉËÔÏÇÒÁÍÍÙ,1-óÐÉÓÏË records_order=ðÏÒÑÄÏË ÐÏËÁÚÁ ÚÁÐÉÓÅÊ,1,1-ðÏ ÉÍÅÎÉ,2-÷Ï ÚÎÁÞÅÎÉÀ,3-ðÏ ÁÄÒÅÓÕ IP,0-÷ ÐÏÒÑÄËÅ ÄÏÂÁ×ÌÅÎÉÑ max_zones=íÁËÓÉÍÁÌØÎÏÅ ËÏÌÉÞÅÓÔ×Ï ÚÏÎ ÄÌÑ ÏÔÏÂÒÁÖÅÎÉÑ,0 rev_def=ïÂÎÏ×ÌÅÎÉÅ ÏÂÒÁÔÎÏÇÏ,1,0-÷ËÌÀÞÅÎÏ ÐÏ ÕÍÏÌÞÁÎÉÀ,1-÷ÙËÌÀÞÅÎÏ ÐÏ ÕÍÏÌÞÁÎÉÀ,2-ðÅÒÅÚÁÐÉÓÙ×ÁÅÔÓÑ ÐÏ ÕÍÏÌÞÁÎÉÀ support_aaaa=ðÏÄÄÅÒÖËÁ DNS ÄÌÑ ÁÄÒÅÓÏ× IPv6,1,0-îÅÔ,1-äÁ allow_comments=òÁÚÒÅÛÉÔØ ËÏÍÍÅÎÔÁÒÉÉ Ë ÚÁÐÉÓÑÍ,1,0-îÅÔ,1-äÁ allow_wild=òÁÚÒÅÛÉÔØ ÛÁÂÌÏÎÙ ÓÉÍ×ÏÌÏ× (ÎÅ ÒÅËÏÍÅÎÄÕÅÔÓÑ),1,0-îÅÔ,1-äÁ allow_long=òÁÚÒÅÛÉÔØ ÄÌÉÎÎÙÅ ÎÁÚ×ÁÎÉÑ ÕÚÌÏ×,1,0-îÅÔ,1-äÁ short_names=ðÒÅÏÏÂÒÁÚÏ×Ù×ÁÔØ ÉÍÅÎÁ ÚÁÐÉÓÅÊ × ËÁÎÏÎÉÞÅÓËÕÀ ÆÏÒÍÕ?,1,0-äÁ,1-îÅÔ by_view=ëÁÔÅÇÏÒÉÚÉÒÏ×ÁÔØ ÚÏÎÙ ÐÏ ×ÉÄÕ?,1,1-äÁ,0-îÅÔ line2=ðÁÒÁÍÅÔÒÙ ÆÁÊÌÁ ÚÏÎ,11 soa_style=óÔÉÌØ ÓÅÒÉÊÎÏÇÏ ÎÏÍÅÒÁ,1,0-ôÅËÕÝÉÅ ÞÉÓÌÁ,1-ïÓÎÏ×ÁÎÎÙÊ ÎÁ ÄÁÔÅ (ççççííääÞÞ) master_ttl=äÏÂÁ×ÌÑÔØ $ttl × ÎÁÞÁÌÏ ÎÏ×ÙÈ ÆÁÊÌÏ× ÚÏÎ,1,1-äÁ,0-îÅÔ master_dir=ëÁÔÁÌÏÇ ÄÌÑ ÆÁÊÌÏ× ÚÏÎ master,3,ðÏ ÕÍÏÌÞÁÎÉÀ slave_dir=ëÁÔÁÌÏÇ ÄÌÑ ÆÁÊÌÏ× ÚÏÎ slave/stub,3,ðÏ ÕÍÏÌÞÁÎÉÀ forwardzonefilename_format=æÏÒÍÁÔ ÉÍÅÎÉ ÆÁÊÌÏ× ÚÏÎ forward,0 reversezonefilename_format=æÏÒÍÁÔ ÉÍÅÎÉ ÆÁÊÌÏ× ÏÂÒÁÔÎÙÈ ÚÏÎ,0 file_owner=÷ÌÁÄÅÌÅà ÆÁÊÌÏ× ÚÏÎ (ÐÏÌØÚÏ×ÁÔÅÌØ:ÇÒÕÐÐÁ),3,ðÏ ÕÍÏÌÞÁÎÉÀ file_perms=ðÒÁ×Á ÆÁÊÌÏ× ÚÏÎ (× ×ÏÓØÍÅÒÉÞÎÏÍ ×ÉÄÅ),3,ðÏ ÕÍÏÌÞÁÎÉÀ default_master=çÌÁ×ÎÙÊ ÓÅÒ×ÅÒ(Á) ÐÏ ÕÍÏÌÞÁÎÉÀ ÄÌÑ ÚÏÎ slave,0 default_slave=õÄÁÌÅÎÎÙÊ ÐÏÄÞÉÎÅÎÎÙÊ ÓÅÒ×ÅÒ ÐÏ ÕÍÏÌÞÁÎÉÀ,0 updserial_on=á×ÔÏÍÁÔÉÞÅÓËÉ ÏÂÎÏ×ÌÑÔØ ÓÅÒÉÊÎÙÅ ÎÏÍÅÒÁ,1,1-äÁ,0-îÅÔ line3=óÉÓÔÅÍÎÙÅ ÎÁÓÔÒÏÊËÉ,11 named_conf=ðÏÌÎÙÊ ÐÕÔØ Ó ÆÁÊÌÕ named.conf,0 named_path=ðÏÌÎÙÊ ÐÕÔØ Ë ÉÓÐÏÌÎÑÅÍÏÍÕ ÆÁÊÌÕ named,0 whois_cmd=ðÏÌÎÙÊ ÐÕÔØ Ë ËÏÍÁÎÄÅ whois,0 ndc_cmd=ëÏÍÁÎÄÁ ÐÅÒÅÚÁÇÒÕÚËÉ ÚÏÎÙ,0 pid_file=òÁÓÐÏÌÏÖÅÎÉÅ ÆÁÊÌÁ PID ÐÏ ÕÍÏÌÞÁÎÉÀ,3,/var/run/named.pid start_cmd=ëÏÍÁÎÄÁ ÄÌÑ ÚÁÐÕÓËÁ BIND,3,ðÏ ÕÍÏÌÞÁÎÉÀ bind8/config.info.zh_CN 0100644 0005671 0000012 00000001233 07224543151 014667 0 ustar jcameron wheel named_conf=named.conf Îļþ·¾¶,0 named_path=named Îļþ·¾¶,0 show_list=ÓòÏÔʾ·½Ê½,1,0-ͼ±ê,1-Áбí soa_style=ÐòÁкÅÀàÐÍ,1,0-ÔËÐбàºÅ,1-ÈÕÆÚ (YYYYMMDDnn) records_order=ÅÅÐò,1,1-Ãû³Æ,2-Öµ,3-By IP,0-Ôö¼ÓµÄ˳Ðò chroot=¸Ä±äµ½¸ùĿ¼ÔËÐÐ BIND µÄ·½Ê½,3,Default start_cmd=¿ªÊ¼ BIND ÃüÁî,3,Default max_zones=ÒªÏÔʾµÄ×î´óÓòÊý,0 rev_def=·´Ïò¸üÐÂ,1,0-ÀûÓÃȱʡ,1-²»ÓÃȱʡ named_user=Æô¶¯ BIND Óû§µÄ·½Ê½,3,ĬÈÏ named_group=Æô¶¯ BIND µÄ×é×÷Ϊ,3,ĬÈÏ master_dir=Ö÷ÇøÎļþĿ¼,3,ĬÈÏ slave_dir=slave/stub ÇøÎļþĿ¼,3,ĬÈÏ support_aaaa=DNS ÖÁ´Ë IPv6 µØÖ·,1,0-·ñ,1-ÊÇ allow_comments=ÔÊÐí×¢ÊͼǼ,1,0-·ñ,1-ÊÇ allow_wild=ÔÊÐíͨÅä·û (²»ÍƼö),1,0-·ñ,1-ÊÇ allow_long=ÔÊÐí³¤Ö÷»úÃû,1,0-·ñ,1-ÊÇ bind8/conf_zonedef.cgi 0100755 0005671 0000012 00000007767 10231647376 014723 0 ustar jcameron wheel #!/usr/local/bin/perl # conf_zonedef.cgi # Display defaults for master zones require './bind8-lib.pl'; $access{'defaults'} || &error($text{'zonedef_ecannot'}); &ui_print_header(undef, $text{'zonedef_title'}, ""); print "
| $text{'zonedef_msg'} | ||||||||||||||||||||||
| ||||||||||||||||||||||
| $text{'zonedef_msg2'} |
| ",$type ? $text{'screate_header1'} : $text{'screate_header2'}," | ||||||||||||||||||||
| ||||||||||||||||||||
| $text{'misc_header'} | ||||||||