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

16 lines
246 B
PHP

<?php
$values = nsParseCommonRequirements();
$_POST['ns'] = formatAbsoluteDomain($_POST['ns']);
rateLimit();
knotcZoneExec($_POST['zone'], [
$values['domain'],
$values['ttl'],
'NS',
$_POST['ns']
]);
output(200, _('Modification done.'));