|
|
|
@ -21,7 +21,6 @@ dns_rcode0_add() { |
|
|
|
fulldomain=$1 |
|
|
|
txtvalue=$2 |
|
|
|
|
|
|
|
|
|
|
|
RCODE0_API_TOKEN="${RCODE0_API_TOKEN:-$(_readaccountconf_mutable RCODE0_API_TOKEN)}" |
|
|
|
RCODE0_URL="${RCODE0_URL:-$(_readaccountconf_mutable RCODE0_URL)}" |
|
|
|
RCODE0_TTL="${RCODE0_TTL:-$(_readaccountconf_mutable RCODE0_TTL)}" |
|
|
|
@ -30,7 +29,6 @@ dns_rcode0_add() { |
|
|
|
RCODE0_URL="$DEFAULT_RCODE0_URL" |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ -z "$RCODE0_API_TOKEN" ]; then |
|
|
|
RCODE0_API_TOKEN="" |
|
|
|
_err "Missing Rcode0 ACME API Token." |
|
|
|
@ -77,7 +75,6 @@ dns_rcode0_rm() { |
|
|
|
RCODE0_URL="$DEFAULT_RCODE0_URL" |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ -z "$RCODE0_API_TOKEN" ]; then |
|
|
|
RCODE0_API_TOKEN="" |
|
|
|
_err "Missing Rcode0 API Token." |
|
|
|
@ -198,11 +195,6 @@ _get_root() { |
|
|
|
domain=$1 |
|
|
|
i=1 |
|
|
|
|
|
|
|
# if _rcode0_rest "GET" "/api/v1/acme/zones"; then |
|
|
|
# _zones_response="$response" |
|
|
|
# fi |
|
|
|
# |
|
|
|
# _debug2 "$response" |
|
|
|
while true; do |
|
|
|
h=$(printf "%s" "$domain" | cut -d . -f $i-100) |
|
|
|
|
|
|
|
|