mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -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
|
||||
|
||||
if [ -e '/etc/bind/named.conf' ]; then
|
||||
dns_conf='/etc/bin/named.conf'
|
||||
dns_conf='/etc/bind/named.conf'
|
||||
fi
|
||||
|
||||
# Remove old user's zone
|
||||
sed -i "/\/$user\/conf\/dns/d" $dns_conf
|
||||
sed -i "/\/$user\/conf\/dns\/$domain/d" $dns_conf
|
||||
|
||||
# Starting loop
|
||||
rebuild_dns_domain_conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue