servnest/pg-act/ns/ip.php

17 lines
262 B
PHP
Raw Normal View History

2023-07-17 19:15:18 +00:00
<?php declare(strict_types=1);
$values = nsParseCommonRequirements();
$record = checkIpFormat($_POST['ip']);
2023-04-28 13:39:05 +00:00
rateLimit();
knotcZoneExec($_POST['zone'], [
$values['domain'],
$values['ttl'],
$record,
$_POST['ip']
]);
output(200, _('Modification done.'));