|
|
@@ -58,6 +58,10 @@ check_hestia_demo_mode
|
|
|
# Action #
|
|
|
#----------------------------------------------------------#
|
|
|
|
|
|
+if [ $record = "@" ] && [ $rtype = "CNAME" ]; then
|
|
|
+ check_result $E_INVALID "CNAME on root is not allowed"
|
|
|
+fi
|
|
|
+
|
|
|
# Make sure the variable for the optional parameter TTL is empty before parsing
|
|
|
# We depend on that later on
|
|
|
unset TTL
|