mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 13:01:52 -07:00
fix for dns cluster sync error
This commit is contained in:
parent
f6da11cd81
commit
74a6aa2a95
1 changed files with 2 additions and 2 deletions
|
@ -56,11 +56,11 @@ if [ -e '/etc/named.conf' ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -e '/etc/bind/named.conf' ]; then
|
if [ -e '/etc/bind/named.conf' ]; then
|
||||||
dns_conf='/etc/bin/named.conf'
|
dns_conf='/etc/bind/named.conf'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Remove old user's zone
|
# Remove old user's zone
|
||||||
sed -i "/\/$user\/conf\/dns/d" $dns_conf
|
sed -i "/\/$user\/conf\/dns\/$domain/d" $dns_conf
|
||||||
|
|
||||||
# Starting loop
|
# Starting loop
|
||||||
rebuild_dns_domain_conf
|
rebuild_dns_domain_conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue