Browse Source

fix #65

pull/66/head
Marcello Cerruti 10 years ago
committed by GitHub
parent
commit
5fedf156e2
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