From 19708d283747f7f0f99513c8a699d31a3d7f48c9 Mon Sep 17 00:00:00 2001 From: System Void Date: Mon, 20 Feb 2017 23:30:39 +0000 Subject: [PATCH] Revert "Remove trailing dot" --- bin/v-add-dns-record | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/bin/v-add-dns-record b/bin/v-add-dns-record index 9a5aaaf2..ec98fd72 100755 --- a/bin/v-add-dns-record +++ b/bin/v-add-dns-record @@ -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 #