@php
$typeDescriptions = [
'A' => 'A - Adresă IPv4',
'AAAA' => 'AAAA - Adresă IPv6',
'AFSDB' => 'AFSDB - AFS Database Record',
'ALIAS' => 'ALIAS - Auto-resolved alias',
'CAA' => 'CAA - Certification Authority Authorization',
'CERT' => 'CERT - Certificate Record',
'CDNSKEY' => 'CDNSKEY - Child DNSKEY',
'CDS' => 'CDS - Child DS',
'CNAME' => 'CNAME - Alias către alt domeniu',
'DNSKEY' => 'DNSKEY - DNSSEC Public Key',
'DNAME' => 'DNAME - Delegation Name',
'DS' => 'DS - Delegation Signer',
'HINFO' => 'HINFO - Host Information',
'KEY' => 'KEY - Public Key',
'LOC' => 'LOC - Location Information',
'MX' => 'MX - Mail Exchange',
'NAPTR' => 'NAPTR - Naming Authority Pointer',
'NS' => 'NS - Name Server',
'NSEC' => 'NSEC - Next Secure',
'NSEC3' => 'NSEC3 - NSEC version 3',
'NSEC3PARAM' => 'NSEC3PARAM - NSEC3 Parameters',
'OPENPGPKEY' => 'OPENPGPKEY - OpenPGP Public Key',
'PTR' => 'PTR - Pointer Record',
'RP' => 'RP - Responsible Person',
'RRSIG' => 'RRSIG - DNSSEC Signature',
'SOA' => 'SOA - Start of Authority',
'SPF' => 'SPF - Sender Policy Framework',
'SSHFP' => 'SSHFP - SSH Fingerprint',
'SRV' => 'SRV - Service Record',
'TKEY' => 'TKEY - Transaction Key',
'TLSA' => 'TLSA - TLS Authentication',
'TSIG' => 'TSIG - Transaction Signature',
'TXT' => 'TXT - Text Record',
'URI' => 'URI - Uniform Resource Identifier',
];
// Pentru PowerDNS, permitem toate tipurile (admin are acces complet)
$allowedTypes = array_keys($typeDescriptions);
@endphp
@foreach($allowedTypes as $type)
{{ $typeDescriptions[$type] ?? $type }}
@endforeach