Browse Source

dns_pdnsMysql.sh

Directly manipulate pdns Mysql backend to verify with Let's Encrypt.
pull/1323/head
Dan 7 years ago
committed by GitHub
parent
commit
cbe7c0574a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dnsapi/dns_pdnsMysql.sh

2
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

Loading…
Cancel
Save