mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-12 10:56:36 +00:00
added notify query
just sets last_check column in domains table to NULL to force an update to slaves.
This commit is contained in:
parent
8b41b1e601
commit
e22ca63bea
@ -136,7 +136,7 @@ rm_record() {
|
||||
notify_slaves() {
|
||||
root=$1
|
||||
|
||||
### Need finished ###
|
||||
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…
x
Reference in New Issue
Block a user