Skip to content
Snippets Groups Projects
Commit d229c257 authored by Till Brehm's avatar Till Brehm
Browse files

Fixed: FS#2954 - Add minimum ttl values in all dns sub records

parent 99ca0f7a
No related branches found
No related tags found
No related merge requests found
Showing
with 53 additions and 0 deletions
......@@ -129,6 +129,10 @@ $form["tabs"]['dns'] = array (
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '86400',
'value' => '',
'width' => '10',
......
......@@ -122,6 +122,10 @@ $form["tabs"]['dns'] = array (
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '86400',
'value' => '',
'width' => '10',
......
......@@ -138,6 +138,10 @@ $form["tabs"]['dns'] = array (
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '86400',
'value' => '',
'width' => '10',
......
......@@ -136,6 +136,10 @@ $form["tabs"]['dns'] = array (
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '86400',
'value' => '',
'width' => '10',
......
......@@ -128,6 +128,10 @@ $form["tabs"]['dns'] = array (
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '86400',
'value' => '',
'width' => '10',
......
......@@ -137,6 +137,10 @@ $form["tabs"]['dns'] = array (
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '86400',
'value' => '',
'width' => '10',
......
......@@ -136,6 +136,10 @@ $form["tabs"]['dns'] = array (
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '86400',
'value' => '',
'width' => '10',
......
......@@ -136,6 +136,10 @@ $form["tabs"]['dns'] = array (
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '86400',
'value' => '',
'width' => '10',
......
......@@ -129,6 +129,10 @@ $form["tabs"]['dns'] = array (
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '86400',
'value' => '',
'width' => '10',
......
......@@ -127,6 +127,10 @@ $form["tabs"]['dns'] = array (
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '86400',
'value' => '',
'width' => '10',
......
......@@ -126,6 +126,10 @@ $form["tabs"]['dns'] = array (
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '86400',
'value' => '',
'width' => '10',
......
......@@ -13,4 +13,5 @@ $wb["name_error_regex"] = 'The hostname has the wrong format.';
$wb["data_error_empty"] = 'IP-Address empty';
$wb["data_error_regex"] = 'IP-Address format invalid';
$wb["data_error_duplicate"] = 'Duplicate A-Record or CNAME-Record';
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
?>
\ No newline at end of file
......@@ -12,4 +12,5 @@ $wb["name_error_empty"] = 'The hostname is empty.';
$wb["name_error_regex"] = 'The hostname has the wrong format.';
$wb["data_error_empty"] = 'IP-Address empty';
$wb["data_error_regex"] = 'IP-Address format invalid';
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
?>
\ No newline at end of file
......@@ -12,4 +12,5 @@ $wb["name_error_empty"] = 'The hostname is empty.';
$wb["name_error_regex"] = 'The hostname has the wrong format.';
$wb["data_error_empty"] = 'Target hostname empty';
$wb["data_error_regex"] = 'Target hostname format invalid';
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
?>
\ No newline at end of file
......@@ -13,4 +13,5 @@ $wb["name_error_regex"] = 'The hostname has the wrong format.';
$wb["data_error_empty"] = 'Target hostname empty';
$wb["data_error_regex"] = 'Target hostname format invalid';
$wb["data_error_duplicate"] = 'Duplicate A-Record or CNAME-Record';
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
?>
\ No newline at end of file
......@@ -12,4 +12,5 @@ $wb["name_error_empty"] = 'The hostname is empty.';
$wb["name_error_regex"] = 'The hostname has the wrong format.';
$wb["data_error_empty"] = 'Host information empty';
$wb["data_error_regex"] = 'Host Information format invalid';
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
?>
\ No newline at end of file
......@@ -14,4 +14,5 @@ $wb["name_error_regex"] = 'The hostname has the wrong format.';
$wb["data_error_empty"] = 'Mailserver hostname empty';
$wb["data_error_regex"] = 'Mailserver hostname format invalid';
$wb["duplicate_mx_record_txt"] = 'Duplicate MX record.';
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
?>
\ No newline at end of file
......@@ -12,4 +12,5 @@ $wb["name_error_empty"] = 'The zone is empty.';
$wb["name_error_regex"] = 'The zone has the wrong format.';
$wb["data_error_empty"] = 'Nameserver empty';
$wb["data_error_regex"] = 'Nameserver format invalid';
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
?>
\ No newline at end of file
......@@ -12,4 +12,5 @@ $wb["name_error_empty"] = 'The name is empty.';
$wb["name_error_regex"] = 'The name has the wrong format.';
$wb["data_error_empty"] = 'Canonical hostname empty';
$wb["data_error_regex"] = 'Canonical hostname format invalid';
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
?>
\ No newline at end of file
......@@ -12,4 +12,5 @@ $wb["name_error_empty"] = 'The hostname is empty.';
$wb["name_error_regex"] = 'The hostname has the wrong format.';
$wb["data_error_empty"] = 'Responsible person field empty';
$wb["data_error_regex"] = 'Responsible person field format invalid';
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment