mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
robust dns cluster sync
This commit is contained in:
parent
02383050d8
commit
b36b15921c
6 changed files with 37 additions and 29 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue