Skip to content

Commit 403225f

Browse files
authored
Merge pull request hestiacp#4376 from sahsanu/Fix-adding-TLSA-records
Fix v-add-dns-record when adding TLSA records
2 parents 54f4210 + fed8088 commit 403225f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-add-dns-record

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ fi
7171
if [ "$rtype" != "CAA" ]; then
7272
dvalue=${dvalue//\"/}
7373
# Add support for DS key
74-
if [ "$rtype" != "DNSKEY" ] && [ "$rtype" != "DS" ]; then
74+
if [ "$rtype" != "DNSKEY" ] && [ "$rtype" != "DS" ] && [ "$rtype" != "TLSA" ]; then
7575
if [ "$rtype" != 'SRV' ] && [[ "$dvalue" =~ [\;[:space:]] ]]; then
7676
dvalue='"'"$dvalue"'"'
7777
fi

0 commit comments

Comments
 (0)