Field for concurrent incoming transfers

This commit is contained in:
Jamie Cameron
2008-10-08 17:46:30 +00:00
parent 99ca5aa683
commit ec50444ace
4 changed files with 6 additions and 1 deletions

View File

@@ -89,5 +89,5 @@ 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.
Added a field to limit concurrent outgoing zone transfers and incoming transfers per nameserver to the Forwarding and Transfers page.
Ignore tailing dots in zone names in named.conf.

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_per_ns'}, "transfers-per-ns",
$mems, $text{'default'}, 4);
print &opt_input($text{'forwarding_out'}, "transfers-out",
$mems, $text{'default'}, 4);

View File

@@ -565,6 +565,7 @@ forwarding_one=One at a time
forwarding_many=Many
forwarding_in=Maximum concurrent incoming zone transfers
forwarding_out=Maximum concurrent outgoing zone transfers
forwarding_per_ns=Maximum concurrent incoming transfers per server
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-per-ns', \&check_trans, $options, 1);
&save_opt('transfers-out', \&check_trans, $options, 1);
&flush_file_lines();