From c779e2f76476cea1e60430447a996c1240fca3b9 Mon Sep 17 00:00:00 2001 From: Thomas Merz Date: Wed, 14 Feb 2024 13:01:48 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20adapt=20graphing=20for=20TCP=20b?= =?UTF-8?q?ased=20DNS=20server=20as=20well?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 02_dnsping-graph.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/02_dnsping-graph.sh b/02_dnsping-graph.sh index 852c3d7..f29dcf8 100755 --- a/02_dnsping-graph.sh +++ b/02_dnsping-graph.sh @@ -12,6 +12,10 @@ resolverlist="$(grep -v ^\# dnsresolvers.list)" [ -z "$resolverlist" ] && exit 1 for resolver in $resolverlist; do + if echo "$resolver"|grep -q 'T'; then + resolver="$(echo "$resolver"|cut -d "-" -f1)" + fi + # create html-file from "template" if not existing: for file in index_"$resolver"*.html; do if [ ! -e "$file" ]; then