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

16 lines
258 B
PHP

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