robust dns cluster sync

This commit is contained in:
Serghey Rodin 2013-10-24 00:10:54 +03:00
commit b36b15921c
6 changed files with 37 additions and 29 deletions

View file

@ -116,6 +116,11 @@ if [ ! -z "$dns_data" ]; then
$BIN/v-unsuspend-dns-domain $user $domain no >> /dev/null 2>&1
$BIN/v-rebuild-dns-domains $owner no
$BIN/v-rebuild-dns-domains $user
# Resync dns cluster
if [ ! -z "$DNS_CLUSTER" ]; then
v-sync-dns-cluster
fi
fi
# MAIL domain