13 lines
350 B
PHP
13 lines
350 B
PHP
<?php declare(strict_types=1);
|
|
|
|
regCheckDomainPossession($_POST['domain']);
|
|
|
|
rateLimit();
|
|
|
|
knotcZoneExec(regParseDomain($_POST['domain'])['suffix'], regParseRecord($_POST['domain'], [
|
|
'type' => 'ip',
|
|
'domain' => formatAbsoluteDomain(formatEndWithDot($_POST['subdomain']) . $_POST['domain']),
|
|
...$_POST,
|
|
]));
|
|
|
|
output(200, _('Modification done.'));
|