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