Skip to content

Commit 18c9bf4

Browse files
committed
removed logic mass dns_unsuspend script
1 parent 75f9977 commit 18c9bf4

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

bin/v_unsuspend_dns_domains

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,7 @@ domains=$(dom_clear_search)
5555

5656
# Starting unsuspend loop
5757
for domain in $domains; do
58-
59-
# Defining named config
60-
conf="/etc/named.conf"
61-
62-
# Adding zone in named.conf
63-
rec="zone \"$domain\" { type master; file \"/etc/namedb/$domain.db\"; };"
64-
echo "$rec" >> $conf
65-
66-
# Unsuspendin in config
67-
update_domain_value 'dns' '$SUSPENDED' 'no'
68-
58+
$V_BIN/v_unsuspend_dns_domain "$user" "$domain"
6959
done
7060

7161

0 commit comments

Comments
 (0)