mirror of
https://github.com/webmin/webmin.git
synced 2026-06-20 19:30:30 +01:00
field to set transfers-out
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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'} ] ]);
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'}));
|
||||
|
||||
Reference in New Issue
Block a user