mirror of
https://github.com/Froxlor/Froxlor.git
synced 2024-09-21 10:27:29 +00:00
Added support DNS TLSA record (#1165)
Co-authored-by: netcarlos <carlos@allhighseeds.com>
This commit is contained in:
parent
bb60df0709
commit
20aa162fcc
@ -302,6 +302,8 @@ class DomainZones extends ApiCommand implements ResourceEntity
|
||||
}
|
||||
} elseif ($type == 'SSHFP' && !empty($content)) {
|
||||
$content = $content;
|
||||
} elseif ($type == 'TLSA' && !empty($content)) {
|
||||
$content = $content;
|
||||
} elseif ($type == 'TXT' && !empty($content)) {
|
||||
// check that TXT content is enclosed in " "
|
||||
$content = Dns::encloseTXTContent($content);
|
||||
|
@ -51,6 +51,7 @@ return [
|
||||
'RP' => 'RP',
|
||||
'SRV' => 'SRV',
|
||||
'SSHFP' => 'SSHFP',
|
||||
'TLSA' => 'TLSA',
|
||||
'TXT' => 'TXT'
|
||||
],
|
||||
'selected' => $type
|
||||
|
@ -709,6 +709,7 @@ return [
|
||||
'RP' => 'Responsible Person record<br>Structure: <code>mailbox[replace @ with a dot] txt-record-name</code><br>Example: <code>team.froxlor.org. froxlor.org.</code>',
|
||||
'SRV' => 'Service location record, used for newer protocols instead of creating protocol-specific records such as MX.<br>Structure: <code>priority weight port target</code><br>Example: <code>0 5 5060 sipserver.example.com.</code><br>Note: For priority, use field above',
|
||||
'SSHFP' => 'The SSHFP resource record is used to publish secure shell (SSH) key fingerprints in the DNS.<br>Structure: <code>algorithm type fingerprint</code><br>Algorithms: <code>0: reserved, 1: RSA, 2: DSA, 3: ECDSA, 4: Ed25519, 6: Ed448</code><br>Types: <code>0: reserved, 1: SHA-1, 2: SHA-256</code><br>Example: <code>2 1 123456789abcdef67890123456789abcdef67890</code>',
|
||||
'TLSA' => 'TLSA (TLS Authentication) record is used to publish fingerprint of a TLS/SSL certificate. It is commonly used for DANE.<br>TLSA records can only be trusted if DNSSEC is enabled on your domain.<br>Structure: <code>usage selector type fingerprint</code><br>Certificate usage: <code>0: PKIX-T, 1: PKIX-EE, 2: DANE-TA, 3: DANE-EE</code><br>Selector: <code>0: Use full certificate, 1: Use subject public key</code><br>Matching type: <code>0: Full: No Hash, 1: SHA-256 Hash, 2:SHA-512 Hash</code><br>Example: <code>3 1 1 123456789abcdef67890123456789abcdef123456789abcdef123456789abcde</code>',
|
||||
'TXT' => 'Free definable, descriptive text.'
|
||||
]
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user