mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-18 14:18:15 +00:00
Add small explanation.
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
21be1bd58e
commit
c8c6533440
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user