We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75f9977 commit 18c9bf4Copy full SHA for 18c9bf4
bin/v_unsuspend_dns_domains
@@ -55,17 +55,7 @@ domains=$(dom_clear_search)
55
56
# Starting unsuspend loop
57
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
+ $V_BIN/v_unsuspend_dns_domain "$user" "$domain"
69
done
70
71
0 commit comments