Gerardo
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
4 deletions
-
dnsapi/dns_aruba.sh
|
@ -106,11 +106,13 @@ 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 |
|
|