mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 13:01:51 -07:00
commit
b370cbf62b
1 changed files with 10 additions and 0 deletions
|
@ -109,6 +109,16 @@ if [ ! -z "$DNS_CLUSTER" ]; then
|
||||||
fi
|
fi
|
||||||
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 #
|
# Vesta #
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue