mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Send soa_edit_api so we don't need to worry about serials anymore. Also, add it as a default to the dist config
This commit is contained in:
parent
8aa6d386cf
commit
a73e3fd1d3
2 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@ $templates[] = array(
|
||||||
);
|
);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
$defaults['soa_edit_api'] = 'INCEPTION-INCREMENT';
|
||||||
$defaults['defaulttype'] = 'Master'; # Choose between 'Native' or 'Master'
|
$defaults['defaulttype'] = 'Master'; # Choose between 'Native' or 'Master'
|
||||||
$defaults['primaryns'] = 'unconfigured.primaryns'; # The value of the first NS-record
|
$defaults['primaryns'] = 'unconfigured.primaryns'; # The value of the first NS-record
|
||||||
$defaults['secondaryns'] = 'unconfigured.secondaryns'; # The value of the second NS-record
|
$defaults['secondaryns'] = 'unconfigured.secondaryns'; # The value of the second NS-record
|
||||||
|
|
|
@ -177,6 +177,7 @@ if ($action == "list" or $action== "listslaves") {
|
||||||
} else {
|
} else {
|
||||||
_jtable_respond(null, 'error', "Not enough data: ".print_r($_POST, 1));
|
_jtable_respond(null, 'error', "Not enough data: ".print_r($_POST, 1));
|
||||||
}
|
}
|
||||||
|
$vars['soa_edit_api'] = $defaults['SOA-EDIT'];
|
||||||
}
|
}
|
||||||
$vars['name'] = $_POST['name'];
|
$vars['name'] = $_POST['name'];
|
||||||
$vars['kind'] = $_POST['kind'];
|
$vars['kind'] = $_POST['kind'];
|
||||||
|
|
Loading…
Add table
Reference in a new issue