mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-12 10:56:36 +00:00
dns_pdnsMysql.sh
Directly manipulate pdns Mysql backend to verify with Let's Encrypt.
This commit is contained in:
parent
d0b73f109e
commit
cbe7c0574a
@ -135,7 +135,7 @@ rm_record() {
|
|||||||
|
|
||||||
notify_slaves() {
|
notify_slaves() {
|
||||||
root=$1
|
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}';"
|
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
|
return 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user