unhardcode

This commit is contained in:
cronekorkn 2023-03-31 20:27:18 +02:00
parent 2178221b4a
commit 0d0668f07a
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -4,7 +4,7 @@ set -o pipefail
deploy_challenge() {
echo "
server 10.0.11.3
server ${server}
zone ${zone}.
update add $1.${zone}. 60 IN TXT \"$3\"
send
@ -13,7 +13,7 @@ deploy_challenge() {
clean_challenge() {
echo "
server 10.0.11.3
server ${server}
zone ${zone}.
update delete $1.${zone}. TXT
send