' . htmlspecialchars($zoneContent) . ''; success(); } if ($_POST['print'] === 'table') { ?> '; foreach ($elements as $element) echo ' '; echo ' '; } echo '
Domaine TTL Type Contenu
' . htmlspecialchars($element) . '
'; } if ($_POST['print'] === 'ds') { $found = preg_match("#\n" . preg_quote($_POST['zone']) . "\s+0\s+CDS\s+([0-9]{1,5})\s+([0-9]{1,2})\s+([0-9])\s+([0-9A-F]{64})\n#", $zoneContent, $matches); if ($found !== 1) serverError("Unable to get public key record from zone file."); $tag = $matches[1]; $algo = $matches[2]; $digestType = $matches[3]; $digest = $matches[4]; ?>
Zone
Tag
Algorithme
Type de condensat
Condensat