mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-01-12 15:04:44 +00:00
Add small explanation.
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
21be1bd58e
commit
c8c6533440
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue