mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-08-07 11:00:41 +02:00
Merge pull request #772 from huloza/patch-1
Add TLSA Record Type to DNS Manager
This commit is contained in:
@@ -590,7 +590,7 @@ is_dbuser_format_valid() {
|
||||
|
||||
# DNS record type validator
|
||||
is_dns_type_format_valid() {
|
||||
known_dnstype='A,AAAA,NS,CNAME,MX,TXT,SRV,DNSKEY,KEY,IPSECKEY,PTR,SPF'
|
||||
known_dnstype='A,AAAA,NS,CNAME,MX,TXT,SRV,DNSKEY,KEY,IPSECKEY,PTR,SPF,TLSA'
|
||||
if [ -z "$(echo $known_dnstype |grep -w $1)" ]; then
|
||||
check_result $E_INVALID "invalid dns record type format :: $1"
|
||||
fi
|
||||
|
||||
@@ -80,6 +80,7 @@
|
||||
<option value="IPSECKEY" <?php if ($v_type == 'IPSECKEY') echo selected; ?>>IPSECKEY</option>
|
||||
<option value="PTR" <?php if ($v_type == 'PTR') echo selected; ?>>PTR</option>
|
||||
<option value="SPF" <?php if ($v_type == 'SPF') echo selected; ?>>SPF</option>
|
||||
<option value="TLSA" <?php if ($v_type == 'TLSA') echo selected; ?>>TLSA</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user