Browse Source

Merge pull request #66 from 2autunni/patch-1

fix issue #65 to correctly delete tokens.
pull/69/head
serverco 10 years ago
committed by GitHub
parent
commit
f99935f9cd
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      dns_scripts/dns_del_pdns-mysql

+ 2
- 2
dns_scripts/dns_del_pdns-mysql View File

@ -13,6 +13,6 @@ TOKEN=$2
DB="powerdns"
mysql -ss ${CREDENTIALS} -e "DELETE FROM ${DB}.records WHERE \
name = '${FQDN}' AND content = '${TOKEN}';"
name = '_acme-challenge.${FQDN}' AND content = '${TOKEN}';"
echo "DELETE FROM ${DB}.records WHERE name = '${FQDN}' AND content = '${TOKEN}';"
echo "DELETE FROM ${DB}.records WHERE name = '_acme-challenge.${FQDN}' AND content = '${TOKEN}';"

Loading…
Cancel
Save