Remote DNS support

This commit is contained in:
Serghey Rodin 2014-03-23 18:49:18 +02:00
commit 311146adbc
13 changed files with 77 additions and 60 deletions

View file

@ -77,9 +77,11 @@ echo "$dns_rec" >> $USER_DATA/dns/$domain.conf
sort_dns_records
# Updating zone
update_domain_zone
if [[ "$DNS_SYSTEM" =~ named|bind ]]; then
update_domain_zone
fi
# dns-cluster
# Updating dns-cluster queue
if [ ! -z "$DNS_CLUSTER" ]; then
# Check for first sync
dlock=$(grep "domain $user $domain" $VESTA/data/queue/dns-cluster.pipe)