mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-21 20:51:41 +00:00
[dns_knot] Use key command instead of command line argument to transmit dns key data.
This commit is contained in:
parent
beed123fb0
commit
dac7a3d272
@ -19,8 +19,9 @@ dns_knot_add() {
|
||||
|
||||
_info "Adding ${fulldomain}. 60 TXT \"${txtvalue}\""
|
||||
|
||||
knsupdate -y "${KNOT_KEY}" <<EOF
|
||||
knsupdate <<EOF
|
||||
server ${KNOT_SERVER}
|
||||
key ${KNOT_KEY}
|
||||
zone ${_domain}.
|
||||
update add ${fulldomain}. 60 TXT "${txtvalue}"
|
||||
send
|
||||
@ -49,8 +50,9 @@ dns_knot_rm() {
|
||||
|
||||
_info "Removing ${fulldomain}. TXT"
|
||||
|
||||
knsupdate -y "${KNOT_KEY}" <<EOF
|
||||
knsupdate <<EOF
|
||||
server ${KNOT_SERVER}
|
||||
key ${KNOT_KEY}
|
||||
zone ${_domain}.
|
||||
update del ${fulldomain}. TXT
|
||||
send
|
||||
|
Loading…
Reference in New Issue
Block a user