' . htmlspecialchars($zoneContent) . ''; output(200); } if ($_POST['print'] === 'table') { ?> '; foreach ($elements as $element) echo ' '; echo ' '; } echo '
Domaine TTL Type Contenu
' . htmlspecialchars($element) . '
'; } if ($_POST['print'] === 'ds') { $found = preg_match('/^' . preg_quote($_POST['zone']) . '[\t ]+0[\t ]+CDS[\t ]+(?[0-9]{1,5})[\t ]+(?[0-9]{1,2})[\t ]+(?[0-9])[\t ]+(?[0-9A-F]{64})$/m', $zoneContent, $matches); if ($found !== 1) output(500, 'Unable to get public key record from zone file.'); ?>
Zone
Tag
Algorithme
Type de condensat
Condensat