Skip to content

Commit dd8a96d

Browse files
authored
Added TLSA Record Type for DNS
sorry, i dont know the procedure for the Ideas but i created an Idea in Vesta Bug Tracker: https://bugs.vestacp.com/issues/306 This add one more option on the Type record in DNS Manager, no need extra validation, also the file: admin/add_dns_rec.html needs to be modified to add the new option tag.
1 parent e6d6e19 commit dd8a96d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ is_dbuser_format_valid() {
589589

590590
# DNS record type validator
591591
is_dns_type_format_valid() {
592-
known_dnstype='A,AAAA,NS,CNAME,MX,TXT,SRV,DNSKEY,KEY,IPSECKEY,PTR,SPF'
592+
known_dnstype='A,AAAA,NS,CNAME,MX,TXT,SRV,DNSKEY,KEY,IPSECKEY,PTR,SPF,TLSA'
593593
if [ -z "$(echo $known_dnstype |grep -w $1)" ]; then
594594
check_result $E_INVALID "invalid dns record type format :: $1"
595595
fi

0 commit comments

Comments
 (0)