Browse Source

Just resort _get_credential_token and _check_and_save for a bester perf.

pull/4277/head
Marco 3 years ago
parent
commit
d769956038
  1. 10
      dnsapi/dns_kas.sh

10
dnsapi/dns_kas.sh

@ -23,12 +23,13 @@ dns_kas_add() {
_info "### -> Using DNS-01 All-inkl/Kasserver hook"
_info "### -> Adding $_fulldomain DNS TXT entry on All-inkl/Kasserver"
_info "### -> Retriving Credential Token"
_get_credential_token
_info "### -> Check and Save Props"
_check_and_save
_info "### -> Retriving Credential Token"
_get_credential_token
_info "### -> Checking Zone and Record_Name"
_get_zone_and_record_name "$_fulldomain"
@ -66,12 +67,13 @@ dns_kas_rm() {
_info "### -> Using DNS-01 All-inkl/Kasserver hook"
_info "### -> Cleaning up after All-inkl/Kasserver hook"
_info "### -> Removing $_fulldomain DNS TXT entry on All-inkl/Kasserver"
_info "### -> Retriving Credential Token"
_get_credential_token
_info "### -> Check and Save Props"
_check_and_save
_info "### -> Retriving Credential Token"
_get_credential_token
_info "### -> Checking Zone and Record_Name"
_get_zone_and_record_name "$_fulldomain"

Loading…
Cancel
Save