Philippe Kueck
8 years ago
No known key found for this signature in database
GPG Key ID: E10E57D62DB57A3B
1 changed files with
3 additions and
0 deletions
-
dnsapi/dns_nsupdate.sh
|
|
@ -9,6 +9,9 @@ dns_nsupdate_add() { |
|
|
|
txtvalue=$2 |
|
|
|
_checkKeyFile || return 1 |
|
|
|
NSUPDATE_SERVER=${NSUPDATE_SERVER:-localhost} |
|
|
|
# save the dns server and key to the account conf file. |
|
|
|
_saveaccountconf NSUPDATE_SERVER "${NSUPDATE_SERVER}" |
|
|
|
_saveaccountconf NSUPDATE_KEY "${NSUPDATE_KEY}" |
|
|
|
tmp=$(mktemp --tmpdir acme_nsupdate.XXXXXX) |
|
|
|
cat > ${tmp} <<EOF |
|
|
|
server ${NSUPDATE_SERVER} |
|
|
|