blob: 5355a718d0106797be2d2c3b8fbb10ff40da1c61 (
plain) (
tree)
|
|
#!/bin/bash
CREATE_DOMAIN="certbot.rfc2136.sijanec.eu."
# update delete $CREATE_DOMAIN TXT
echo "
server 127.0.0.1
update add $CREATE_DOMAIN 1 TXT $CERTBOT_VALIDATION
send
" | tee /dev/stderr | nsupdate -k /etc/bind/keyfile-rfc2136.conf
if [ $CERTBOT_REMAINING_CHALLENGES -eq 0 ]
then
rndc reload
sleep 30
fi
|