From 0edb3c4e3783189fa26852d3cd5415a5beb35ea8 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Sun, 27 Mar 2011 11:23:28 +0000 Subject: [PATCH] trying to fix #460 by launching update domaines set dns_action='update'; at alternc.install ends --- install/alternc.install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install/alternc.install b/install/alternc.install index 15d0cf8e..048e6e6f 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -338,6 +338,11 @@ if [ "$HAS_ROOT" != "1" ]; then fi fi +# We force the re-computing of the DNS zones, since we may have changed the IP address (see #460) +MYSQL_CONFIG="/etc/alternc/my.cnf" +mysql="/usr/bin/mysql --defaults-file=$MYSQL_CONFIG" +$mysql -B -e "update domaines set dns_action='update';" + # We should restart apaches after all configuration stuff ... for service in $SERVICES; do test -x /etc/init.d/$service && invoke-rc.d $service stop || true