mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Revert "Remove trailing dot"
This commit is contained in:
parent
e598d80708
commit
19708d2837
1 changed files with 0 additions and 10 deletions
|
@ -109,16 +109,6 @@ 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