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

16 lines
237 B
PHP

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