mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
suspend remote dns if connection failed
This commit is contained in:
parent
bbc652c331
commit
f70ba768a3
9 changed files with 85 additions and 74 deletions
|
@ -50,8 +50,11 @@ fi
|
|||
old_ifs="$IFS"
|
||||
IFS=$'\n'
|
||||
|
||||
# Check remote dns nodes
|
||||
remote_dns_health_check
|
||||
|
||||
# Starting cluster loop
|
||||
for cluster_str in $(cat $VESTA/conf/dns-cluster.conf); do
|
||||
for cluster_str in $(grep "SUSPENDED='no'" $VESTA/conf/dns-cluster.conf); do
|
||||
|
||||
# Get host values
|
||||
eval $cluster_str
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue