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 7b2dd7d commit 636213fCopy full SHA for 636213f
bin/v-suspend-dns-domain
@@ -37,7 +37,7 @@ is_object_unsuspended 'dns' 'DOMAIN' "$domain"
37
#----------------------------------------------------------#
38
39
# Deleting domain from named.conf
40
-sed -i "/\/$domain.db\"/d" /etc/named.conf
+#sed -i "/\/$domain.db\"/d" /etc/named.conf
41
42
43
@@ -50,9 +50,9 @@ sed -i "s/SUSPENDED='no'/SUSPENDED='yes'/g" $USER_DATA/dns/$domain.conf
50
increase_user_value "$user" '$SUSPENDED_DNS'
51
52
# Restart named
53
-if [ "$restart" != 'no' ]; then
54
- $BIN/v-restart-dns "$EVENT"
55
-fi
+#if [ "$restart" != 'no' ]; then
+# $BIN/v-restart-dns "$EVENT"
+#fi
56
57
# Logging
58
log_event "$OK" "$EVENT"
0 commit comments