mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-05-07 13:26:08 +02:00
Merge pull request #1088 from serghey-rodin/revert-1065-patch-12
Revert "Remove trailing dot"
This commit is contained in:
@@ -109,16 +109,6 @@ if [ ! -z "$DNS_CLUSTER" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# remove trailing dot at the end of NS/CNAME/MX/PTR/SRV record
|
||||
|
||||
if [[ $rtype =~ NS|CNAME|MX|PTR|SRV ]]; then
|
||||
trailing_dot2=$(echo $record | grep "\.$")
|
||||
if [ ! -z $trailing_dot2 ]; then
|
||||
record=$(echo "${record::-1}")
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Vesta #
|
||||
|
||||
Reference in New Issue
Block a user