From ca12fdfd7734ef1603c09a3ab7c1adca3875b14d Mon Sep 17 00:00:00 2001 From: rootzoll Date: Sun, 3 Feb 2019 00:08:25 +0100 Subject: [PATCH] #301 check dynDNS not static --- home.admin/00infoBlitz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/00infoBlitz.sh b/home.admin/00infoBlitz.sh index 21d464d..da69057 100755 --- a/home.admin/00infoBlitz.sh +++ b/home.admin/00infoBlitz.sh @@ -192,7 +192,7 @@ else if [ ${#dynDomain} -gt 0 ]; then #check if dyndns resolves to correct IP - ipOfDynDNS=$(getent hosts rootzoll.chickenkiller.com | awk '{ print $1 }') + ipOfDynDNS=$(getent hosts ${dynDomain} | awk '{ print $1 }') if [ "${ipOfDynDNS}:${public_port}" != "${public_addr}" ]; then public_color="${color_red}" else