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

@ -43,9 +43,11 @@ is_object_unsuspended 'dns' 'DOMAIN' "$domain"
update_object_value 'dns' 'DOMAIN' "$domain" '$TTL' "$ttl"
# 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)