stilez
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
4 deletions
-
dnsapi/dns_pleskxml.sh
|
|
|
@ -106,16 +106,13 @@ _DBG_ERR_TRAP() { |
|
|
|
|
|
|
|
_DBG_EARLY_CHECK_MODE |
|
|
|
|
|
|
|
|
|
|
|
############ Set up static/private variables ##################### |
|
|
|
|
|
|
|
|
|
|
|
_pleskxml_curlpath=/usr/local/bin/curl |
|
|
|
|
|
|
|
_pleskxml_newline=' |
|
|
|
' |
|
|
|
|
|
|
|
|
|
|
|
# Plesk XML templates. |
|
|
|
# Note ALL TEMPLATES MUST HAVE EXACTLY 3 %s PLACEHOLDERS |
|
|
|
# (otherwise printf repeats the string causing the API call to fail) |
|
|
|
@ -142,7 +139,6 @@ _pleskxml_tplt_get_dns_records="<packet><dns><get_rec><filter><site-id>%s</site- |
|
|
|
# Args: |
|
|
|
# the domain id to query |
|
|
|
|
|
|
|
|
|
|
|
############ Define public functions ##################### |
|
|
|
|
|
|
|
# Usage: dns_pleskxml_add _acme-challenge.domain.org "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs" |
|
|
|
|