servnest/pg-act/reg/ns.php
2023-01-23 01:14:59 +01:00

12 lines
238 B
PHP

<?php
regCheckDomainPossession($_POST['domain']);
knotcZoneExec(regParseDomain($_POST['domain'])['suffix'], [
$_POST['domain'],
CONF['reg']['ttl'],
'NS',
formatAbsoluteDomain($_POST['ns'])
]);
output(200, _('Modification done.'));