Skip to content

Commit d79341b

Browse files
committed
And for v-change-dns-record
1 parent dd6cce0 commit d79341b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/v-change-dns-record

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ check_hestia_demo_mode
5858
# Action #
5959
#----------------------------------------------------------#
6060

61+
if [ $record = "@" ] && [ $rtype = "CNAME" ]; then
62+
check_result $E_INVALID "CNAME on root is not allowed"
63+
fi
64+
6165
# Make sure the variable for the optional parameter TTL is empty before parsing
6266
# We depend on that later on
6367
unset TTL

0 commit comments

Comments
 (0)