Skip to content

Commit 19708d2

Browse files
authored
Revert "Remove trailing dot"
1 parent e598d80 commit 19708d2

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

bin/v-add-dns-record

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -109,16 +109,6 @@ if [ ! -z "$DNS_CLUSTER" ]; then
109109
fi
110110
fi
111111

112-
# remove trailing dot at the end of NS/CNAME/MX/PTR/SRV record
113-
114-
if [[ $rtype =~ NS|CNAME|MX|PTR|SRV ]]; then
115-
trailing_dot2=$(echo $record | grep "\.$")
116-
if [ ! -z $trailing_dot2 ]; then
117-
record=$(echo "${record::-1}")
118-
fi
119-
fi
120-
121-
122112

123113
#----------------------------------------------------------#
124114
# Vesta #

0 commit comments

Comments
 (0)