mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-01-26 14:29:49 +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}")"
|
validTarget="$(checkDomain "${target}")"
|
||||||
if [[ -n "${validTarget}" ]]; then
|
if [[ -n "${validTarget}" ]]; then
|
||||||
if [ "${validDomain}" = "${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
|
exit 1
|
||||||
else
|
else
|
||||||
echo "cname=${validDomain},${validTarget}" >> "${dnscustomcnamefile}"
|
echo "cname=${validDomain},${validTarget}" >> "${dnscustomcnamefile}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue