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 0642453 + a671825 commit 4547bb0Copy full SHA for 4547bb0
bin/v-add-dns-record
@@ -73,6 +73,10 @@ if [ "$rtype" != "CAA" ]; then
73
fi
74
75
76
+if [ "$record" = "@" ] && [ "$rtype" = "CNAME" ]; then
77
+ check_result $E_INVALID "CNAME on root is not allowed"
78
+fi
79
+
80
# Additional argument formatting
81
format_domain
82
format_domain_idn
bin/v-change-dns-record
@@ -58,6 +58,10 @@ check_hestia_demo_mode
58
# Action #
59
#----------------------------------------------------------#
60
61
62
63
64
65
# Make sure the variable for the optional parameter TTL is empty before parsing
66
# We depend on that later on
67
unset TTL
0 commit comments