We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6da11c commit 74a6aa2Copy full SHA for 74a6aa2
bin/v-rebuild-dns-domain
@@ -56,11 +56,11 @@ if [ -e '/etc/named.conf' ]; then
56
fi
57
58
if [ -e '/etc/bind/named.conf' ]; then
59
- dns_conf='/etc/bin/named.conf'
+ dns_conf='/etc/bind/named.conf'
60
61
62
# Remove old user's zone
63
-sed -i "/\/$user\/conf\/dns/d" $dns_conf
+sed -i "/\/$user\/conf\/dns\/$domain/d" $dns_conf
64
65
# Starting loop
66
rebuild_dns_domain_conf
0 commit comments