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