diff --git a/bin/v-suspend-dns-domain b/bin/v-suspend-dns-domain index 7f061805d..612d2309f 100755 --- a/bin/v-suspend-dns-domain +++ b/bin/v-suspend-dns-domain @@ -37,7 +37,7 @@ is_object_unsuspended 'dns' 'DOMAIN' "$domain" #----------------------------------------------------------# # Deleting domain from named.conf -sed -i "/\/$domain.db\"/d" /etc/named.conf +#sed -i "/\/$domain.db\"/d" /etc/named.conf #----------------------------------------------------------# @@ -50,9 +50,9 @@ sed -i "s/SUSPENDED='no'/SUSPENDED='yes'/g" $USER_DATA/dns/$domain.conf increase_user_value "$user" '$SUSPENDED_DNS' # Restart named -if [ "$restart" != 'no' ]; then - $BIN/v-restart-dns "$EVENT" -fi +#if [ "$restart" != 'no' ]; then +# $BIN/v-restart-dns "$EVENT" +#fi # Logging log_event "$OK" "$EVENT"