This commit is contained in:
Gerardo 2020-04-19 19:01:36 +02:00 committed by GitHub
parent 31f57cd3be
commit d14875fec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,12 +105,14 @@ _initAuth() {
dns_aruba_add() { dns_aruba_add() {
fulldomain=$1 fulldomain=$1
txtvalue=$2 txtvalue=$2
_debug _domain "$_domain"
_sub_domain="_acme-challenge"
if ! _initAuth; then if ! _initAuth; then
return 1 return 1
fi fi
_debug _domain "$_domain"
_sub_domain="_acme-challenge"
_debug "Check if _acme-challenge record exists in " "$_domain" _debug "Check if _acme-challenge record exists in " "$_domain"
if ! _extract_record_id "$_sub_domain.$_domain."; then if ! _extract_record_id "$_sub_domain.$_domain."; then
_method="POST" _method="POST"
@ -136,7 +138,7 @@ dns_aruba_add() {
#fulldomain #fulldomain
dns_aruba_rm() { dns_aruba_rm() {
fulldomain=$1 #fulldomain=$1
txtvalue=$2 txtvalue=$2
if ! _initAuth; then if ! _initAuth; then