|
@ -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 |
|
|