From f5b59d141b5a397fd7842dff597939b51492ef9c Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 4 Jul 2021 11:37:10 +0200 Subject: [PATCH] Hide blackbutton for internally generated DNSSEC queries (they cannot be blocked) Signed-off-by: DL6ER --- scripts/pi-hole/js/queries.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/pi-hole/js/queries.js b/scripts/pi-hole/js/queries.js index f5a12426..80344564 100644 --- a/scripts/pi-hole/js/queries.js +++ b/scripts/pi-hole/js/queries.js @@ -219,6 +219,9 @@ $(function () { // Add EDE here if available and not included in dnssecStatus if (ede.length > 0 && dnssecStatus.length === 0) fieldtext += " (" + ede + ")"; + // Cannot block internal queries of this type + if ((data[1] === "DNSKEY" || data[1] === "DS") && data[3] === "pi.hole") buttontext = ""; + fieldtext += ''; if (colorClass !== false) {