servnest/pg-act/ns/dname.php

14 lines
244 B
PHP

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