From cbe7c0574aff2f2161db610c90e08cda2c6db6e8 Mon Sep 17 00:00:00 2001 From: Dan <36902356+danc403@users.noreply.github.com> Date: Fri, 2 Mar 2018 12:36:23 -0600 Subject: [PATCH] dns_pdnsMysql.sh Directly manipulate pdns Mysql backend to verify with Let's Encrypt. --- dnsapi/dns_pdnsMysql.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsapi/dns_pdnsMysql.sh b/dnsapi/dns_pdnsMysql.sh index f04a40c3..b4e6ff49 100644 --- a/dnsapi/dns_pdnsMysql.sh +++ b/dnsapi/dns_pdnsMysql.sh @@ -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