소스 검색

Revert "Remove trailing dot"

System Void 9 년 전
부모
커밋
19708d2837
1개의 변경된 파일0개의 추가작업 그리고 10개의 파일을 삭제
  1. 0 10
      bin/v-add-dns-record

+ 0 - 10
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                              #