Browse Source

Update dns_alviy.sh

pull/5117/head
alviy 8 months ago
committed by GitHub
parent
commit
e814cccc44
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      dnsapi/dns_alviy.sh

4
dnsapi/dns_alviy.sh

@ -105,8 +105,8 @@ _get_root() {
h=$(printf "%s" "$domain" | rev | cut -d . -f 1-2 | rev) h=$(printf "%s" "$domain" | rev | cut -d . -f 1-2 | rev)
if [ -z "$h" ]; then if [ -z "$h" ]; then
#not valid #not valid
hd=$(printf "%s" "$domain" | rev)
_debug "can't get host from $domain $hd"
_alviy_rest GET "zone/$domain/"
_debug "can't get host from $domain"
return 1 return 1
fi fi

Loading…
Cancel
Save