servnest/pg-act/reg/ns.php
2023-05-02 18:02:08 +02:00

14 lines
252 B
PHP

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