servnest/pg-act/reg/ns.php

14 lines
248 B
PHP
Raw Normal View History

<?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.'));