Add small explanation.

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2022-10-29 15:09:14 +02:00
parent 21be1bd58e
commit c8c6533440
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -730,7 +730,7 @@ AddCustomCNAMERecord() {
validTarget="$(checkDomain "${target}")"
if [[ -n "${validTarget}" ]]; then
if [ "${validDomain}" = "${validTarget}" ]; then
echo " ${CROSS} Domain and target are the same!"
echo " ${CROSS} Domain and target are the same. This would cause a DNS loop."
exit 1
else
echo "cname=${validDomain},${validTarget}" >> "${dnscustomcnamefile}"