From 762aba21ec75774b8340dc8600fcc6b18a229fb0 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 3 Jul 2021 09:33:27 +0200 Subject: [PATCH] Add note when a BOGUS result was sent down from upstream (we cannot say why it failed in this case) Signed-off-by: DL6ER --- scripts/pi-hole/js/queries.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/pi-hole/js/queries.js b/scripts/pi-hole/js/queries.js index 5645cd5e..f5a12426 100644 --- a/scripts/pi-hole/js/queries.js +++ b/scripts/pi-hole/js/queries.js @@ -75,6 +75,7 @@ $(function () { tableApi = $("#all-queries").DataTable({ rowCallback: function (row, data) { + var replyid = parseInt(data[5], 10); // DNSSEC status var dnssecStatus; var ede = data[11]; @@ -101,6 +102,7 @@ $(function () { if (dnssecStatus.length > 0) { if (ede.length > 0) dnssecStatus += " (" + ede + ")"; + else if (replyid === 7) dnssecStatus += " (refused upstream)"; dnssecStatus += ""; } @@ -110,7 +112,6 @@ $(function () { colorClass = false, isCNAME = false, regexLink = false; - var replyid = parseInt(data[5], 10); switch (data[4]) { case "1":