DNS Cluster Serial fix

This commit is contained in:
Serghey Rodin 2015-10-15 15:03:23 +03:00
commit 264b851d1a
22 changed files with 79 additions and 40 deletions

View file

@ -85,7 +85,7 @@ for cluster_str in $(grep "SUSPENDED='no'" $VESTA/conf/dns-cluster.conf); do
$send_cmd v-insert-dns-domain $DNS_USER "$str" $HOSTNAME 'no'
# Rebuild dns zone
$send_cmd v-rebuild-dns-domain $DNS_USER $domain 'scheduled'
$send_cmd v-rebuild-dns-domain $DNS_USER $domain 'scheduled' 'no'
if [ $? -ne 0 ]; then
echo "Error: $TYPE connection to $HOST failed (rebuild)"
log_event "$E_CONNECT $EVENT"