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.
2 parents 78bccef + b2649fd commit 1304a73Copy full SHA for 1304a73
bin/v-add-dns-on-web-alias
@@ -50,12 +50,12 @@ domain_lvl=$(echo "$alias" |grep -o "\." |wc -l)
50
# Adding second level domain
51
if [ "$domain_lvl" -eq 1 ] || [ "${#top_domain}" -le '6' ]; then
52
$BIN/v-add-dns-domain \
53
- $user $alias $ip '' '' '' '' '' $restart >> /dev/null
+ $user $alias $ip '' '' '' '' '' '' '' '' $restart >> /dev/null
54
exit
55
fi
56
57
# Adding top-level domain and then its sub
58
-$BIN/v-add-dns-domain $user $top_domain $ip '' '' '' '' $restart >> /dev/null
+$BIN/v-add-dns-domain $user $top_domain $ip '' '' '' '' '' $restart >> /dev/null
59
60
# Checking top-level domain
61
if [ ! -e "$USER_DATA/dns/$top_domain.conf" ]; then
0 commit comments