fix for dns cluster sync error

This commit is contained in:
Serghey Rodin 2013-08-21 12:37:47 +03:00
commit 74a6aa2a95

View file

@ -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