14 lines
223 B
PHP
14 lines
223 B
PHP
<?php
|
|
|
|
$values = nsParseCommonRequirements();
|
|
|
|
$record = checkIpFormat($_POST['ip']);
|
|
|
|
knotcZoneExec($_POST['zone'], [
|
|
$values['domain'],
|
|
$values['ttl'],
|
|
$record,
|
|
$_POST['ip']
|
|
]);
|
|
|
|
output(200, _('Modification done.'));
|