2022-12-20 20:17:03 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$values = nsParseCommonRequirements();
|
|
|
|
|
|
|
|
$_POST['ns'] = formatAbsoluteDomain($_POST['ns']);
|
|
|
|
|
|
|
|
knotcZoneExec($_POST['zone'], [
|
|
|
|
$values['domain'],
|
|
|
|
$values['ttl'],
|
|
|
|
'NS',
|
|
|
|
$_POST['ns']
|
|
|
|
]);
|
|
|
|
|
2023-01-21 00:27:52 +00:00
|
|
|
output(200, _('Modification done.'));
|