2023-07-17 19:15:18 +00:00
|
|
|
<?php declare(strict_types=1);
|
2022-12-20 20:17:03 +00:00
|
|
|
|
|
|
|
regCheckDomainPossession($_POST['domain']);
|
|
|
|
|
2023-04-28 13:39:05 +00:00
|
|
|
rateLimit();
|
|
|
|
|
2023-01-23 00:14:59 +00:00
|
|
|
knotcZoneExec(regParseDomain($_POST['domain'])['suffix'], [
|
2022-12-20 20:17:03 +00:00
|
|
|
$_POST['domain'],
|
|
|
|
CONF['reg']['ttl'],
|
|
|
|
'NS',
|
2023-01-23 00:14:59 +00:00
|
|
|
formatAbsoluteDomain($_POST['ns'])
|
2022-12-20 20:17:03 +00:00
|
|
|
]);
|
|
|
|
|
2023-01-21 00:27:52 +00:00
|
|
|
output(200, _('Modification done.'));
|