root domain as dns alias mode

This commit is contained in:
neilpang 2019-03-31 21:46:14 +08:00
parent 15ce2a3d67
commit c2d0d4d28c
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ dns_cf_rm() {
# _domain_id=sdjkglgdfewsdfg
_get_root() {
domain=$1
i=2
i=1
p=1
while true; do
h=$(printf "%s" "$domain" | cut -d . -f $i-100)