From 5f67fd6615b3b05c436eb6510fb01a2a276eac89 Mon Sep 17 00:00:00 2001 From: gaby64 Date: Wed, 30 Mar 2022 15:52:50 -0400 Subject: [PATCH] _get_root was not giving me the root domain changed "i" to 2, now I get the root domain and the easydns request works correctly. --- dnsapi/dns_easydns.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsapi/dns_easydns.sh b/dnsapi/dns_easydns.sh index ab47a0bc..83ddb3f4 100644 --- a/dnsapi/dns_easydns.sh +++ b/dnsapi/dns_easydns.sh @@ -115,7 +115,7 @@ dns_easydns_rm() { # _domain=domain.com _get_root() { domain=$1 - i=1 + i=2 p=1 while true; do h=$(printf "%s" "$domain" | cut -d . -f $i-100)