servnest/pg-act/ns/ns.php

15 lines
232 B
PHP
Raw Normal View History

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