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