baerengraben
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
3 deletions
-
dnsapi/dns_hosttech.sh
|
@ -44,13 +44,12 @@ dns_hosttech_add() { |
|
|
_err "Add txt record error." |
|
|
_err "Add txt record error." |
|
|
return 1 |
|
|
return 1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#fulldomain txtvalue |
|
|
|
|
|
|
|
|
|
|
|
dns_hosttech_rm() { |
|
|
dns_hosttech_rm() { |
|
|
fulldomain=$1 |
|
|
fulldomain=$1 |
|
|
txtvalue=$2 |
|
|
txtvalue=$2 |
|
|
|
|
|
|
|
|
Hosttech_Key="${Hosttech_Key:-$(_readaccountconf_mutable Hosttech_Key)}" |
|
|
Hosttech_Key="${Hosttech_Key:-$(_readaccountconf_mutable Hosttech_Key)}" |
|
|
|
|
|
|
|
|
if [ -z "$Hosttech_Key" ]; then |
|
|
if [ -z "$Hosttech_Key" ]; then |
|
|
Hosttech_Key="" |
|
|
Hosttech_Key="" |
|
|
_err "You didn't specify a Hosttech api key." |
|
|
_err "You didn't specify a Hosttech api key." |
|
|