dns_pdnsMysql.sh

Directly manipulate pdns Mysql backend to verify with Let's Encrypt.
This commit is contained in:
Dan 2018-03-02 12:36:23 -06:00 committed by GitHub
parent d0b73f109e
commit cbe7c0574a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,7 @@ rm_record() {
notify_slaves() {
root=$1
# hack set last_check to null to force update. #
mysql -ss "-h${PDNS_Host}" "-P${PDNS_Port}" "-u${PDNS_User}" "-p${PDNS_Pass}" -e "UPDATE ${PDNS_Database}.domains SET last_check=NULL WHERE name='${root}';"
return 0