field to set transfers-out

This commit is contained in:
Jamie Cameron
2008-10-06 23:54:20 +00:00
parent 83c19f4620
commit 292ca3f5cf
4 changed files with 7 additions and 1 deletions

View File

@@ -89,3 +89,4 @@ Moved buttons for deleting, moving and converting zones up to the page shown whe
Switched to the new root zone file available from Internic.
Restrictions that apply to all zones in a view (such as allowed IPs for transfers and queries) can now be set on the Edit Client View page.
Made the Find Free IPs page visible, for finding addresses in a master zone that are not currently used.
Added a field to limit concurrent outgoing zone transfers to the Forwarding and Transfers page.

View File

@@ -31,6 +31,9 @@ print &choice_input($text{'forwarding_format'}, 'transfer-format', $mems,
print &opt_input($text{'forwarding_in'}, "transfers-in",
$mems, $text{'default'}, 4);
print &opt_input($text{'forwarding_out'}, "transfers-out",
$mems, $text{'default'}, 4);
print &ui_table_end();
print &ui_form_end([ [ undef, $text{'save'} ] ]);

View File

@@ -563,7 +563,8 @@ forwarding_max=Maximum zone transfer time
forwarding_format=Zone transfer format
forwarding_one=One at a time
forwarding_many=Many
forwarding_in=Maximum concurrent zone transfers
forwarding_in=Maximum concurrent incoming zone transfers
forwarding_out=Maximum concurrent outgoing zone transfers
forwarding_err=Failed to save forwarding and transfer options
forwarding_emins=Missing or invalid maximum transfer time
forwarding_etrans=Missing or invalid maximum concurrent transfers

View File

@@ -15,6 +15,7 @@ $options = &find("options", $conf);
&save_opt('max-transfer-time-in', \&check_mins, $options, 1);
&save_choice('transfer-format', $options, 1);
&save_opt('transfers-in', \&check_trans, $options, 1);
&save_opt('transfers-out', \&check_trans, $options, 1);
&flush_file_lines();
&unlock_file(&make_chroot($config{'named_conf'}));