neilpang 2019-01-30 20:13:23 +08:00
parent a964646803
commit 227547f826

View File

@ -8,7 +8,7 @@ LINODE_V4_API_URL="https://api.linode.com/v4/domains"
######## Public functions ##################### ######## Public functions #####################
#Usage: dns_linode_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs" #Usage: dns_linode_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs"
dns_linode_add() { dns_linode_v4_add() {
fulldomain="${1}" fulldomain="${1}"
txtvalue="${2}" txtvalue="${2}"
@ -51,7 +51,7 @@ dns_linode_add() {
} }
#Usage: dns_linode_rm _acme-challenge.www.domain.com #Usage: dns_linode_rm _acme-challenge.www.domain.com
dns_linode_rm() { dns_linode_v4_rm() {
fulldomain="${1}" fulldomain="${1}"
if ! _Linode_API; then if ! _Linode_API; then