diff --git a/interface/web/dns/form/dns_soa.tform.php b/interface/web/dns/form/dns_soa.tform.php
index e56211782a4e4190e5faa347429c33f37787e758..cccd2f6cd7fbec60bf02f0fdac95cb84adb9ad6d 100644
--- a/interface/web/dns/form/dns_soa.tform.php
+++ b/interface/web/dns/form/dns_soa.tform.php
@@ -46,7 +46,7 @@ $form["action"] = "dns_soa_edit.php";
$form["db_table"] = "dns_soa";
$form["db_table_idx"] = "id";
$form["db_history"] = "yes";
-$form["tab_default"] = "dns_soa";
+$form["tab_default"] = "dns_records";
$form["list_default"] = "dns_soa_list.php";
$form["auth"] = 'yes'; // yes / no
@@ -56,6 +56,31 @@ $form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update,
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
+$form["tabs"]['dns_records'] = array (
+ 'title' => "Records",
+ 'width' => 100,
+ 'template' => "templates/dns_records_edit.htm",
+ 'fields' => array (
+ //#################################
+ // Begin Datatable fields
+ //#################################
+
+ //#################################
+ // END Datatable fields
+ //#################################
+ ),
+ 'plugins' => array (
+ 'dns_records' => array (
+ 'class' => 'plugin_listview',
+ 'options' => array(
+ 'listdef' => 'list/dns_a.list.php',
+ 'sqlextwhere' => "zone = ".@$app->functions->intval(@$_REQUEST['id']),
+ 'sql_order_by' => "ORDER BY type, name"
+ )
+ )
+ )
+);
+
$form["tabs"]['dns_soa'] = array (
'title' => "DNS Zone",
'width' => 100,
@@ -294,31 +319,6 @@ $form["tabs"]['dns_soa'] = array (
)
);
-$form["tabs"]['dns_records'] = array (
- 'title' => "Records",
- 'width' => 100,
- 'template' => "templates/dns_records_edit.htm",
- 'fields' => array (
- //#################################
- // Begin Datatable fields
- //#################################
-
- //#################################
- // END Datatable fields
- //#################################
- ),
- 'plugins' => array (
- 'dns_records' => array (
- 'class' => 'plugin_listview',
- 'options' => array(
- 'listdef' => 'list/dns_a.list.php',
- 'sqlextwhere' => "zone = ".@$app->functions->intval(@$_REQUEST['id']),
- 'sql_order_by' => "ORDER BY type, name"
- )
- )
- )
-);
-
// show update acl to admins only.
if(!$app->auth->is_admin()) unset($form["tabs"]['dns_soa']['fields']['update_acl']);
diff --git a/interface/web/dns/templates/dns_records_edit.htm b/interface/web/dns/templates/dns_records_edit.htm
index 979cebe5fd58636304f789c508cafd6cacc27923..97800079b70b3afee38c5a77a528cef93d238afa 100644
--- a/interface/web/dns/templates/dns_records_edit.htm
+++ b/interface/web/dns/templates/dns_records_edit.htm
@@ -1,3 +1,12 @@
+ {tmpl_var name='configuration_error_txt'}
{tmpl_var name='configuration_error_txt'}
-