From 5abbeb2eff9267d3062eeb1f35bd0dca3b50e18c Mon Sep 17 00:00:00 2001 From: DL6ER Date: Tue, 21 Jan 2020 23:34:08 +0100 Subject: [PATCH] Add extra label when blocking happend during deep CNAME inspection. Signed-off-by: DL6ER --- scripts/pi-hole/js/queries.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/pi-hole/js/queries.js b/scripts/pi-hole/js/queries.js index 1422e1b4..e6c41507 100644 --- a/scripts/pi-hole/js/queries.js +++ b/scripts/pi-hole/js/queries.js @@ -228,6 +228,11 @@ $(document).ready(function() { buttontext = ""; } + // Add extra label when blocking happend during deep CNAME inspection + if (blocked && data.length > 6 && data[6] === "3") { + fieldtext += "
CNAME"; + } + $(row).addClass(colorClass); $("td:eq(4)", row).html(fieldtext); $("td:eq(6)", row).html(buttontext);