dns cluster support

This commit is contained in:
Serghey Rodin 2013-05-28 16:09:07 +03:00
commit 68a34e18b7
47 changed files with 1536 additions and 64 deletions

View file

@ -3,7 +3,7 @@
# options: USER DOMAIN SOA
#
# The function for changing SOA record. This type of records can not be
# modified by v-change-dns-domain-record call.
# modified by v-change-dns-record call.
#----------------------------------------------------------#
@ -46,6 +46,12 @@ update_object_value 'dns' 'DOMAIN' "$domain" '$SOA' "$soa"
# Updating zone
update_domain_zone
# dns-cluster
if [ ! -z "$DNS_CLUSTER" ]; then
cmd="v-change-remote-dns-domain-soa $user $domain"
echo "$cmd" >> $VESTA/data/queue/dns-cluster.pipe
fi
#----------------------------------------------------------#
# Vesta #