From e7a97d382acaff30ed41dffb42782ab308fa1acf Mon Sep 17 00:00:00 2001 From: DL6ER Date: Wed, 18 Dec 2024 10:55:54 +0100 Subject: [PATCH] Show extended DNS error (if applicable) Signed-off-by: DL6ER --- scripts/js/queries.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scripts/js/queries.js b/scripts/js/queries.js index 88c2f2039..acadf77a3 100644 --- a/scripts/js/queries.js +++ b/scripts/js/queries.js @@ -344,6 +344,17 @@ function formatInfo(data) { ? divStart + "Reply:  " + data.reply.type + "" : divStart + "Reply:  No reply received"; + // Show extended DNS error if applicable + var edeInfo = ""; + if (data.ede !== null && data.ede.text !== null) { + edeInfo = divStart + "Extended DNS error:  "; + } + // Compile extra info for displaying return ( '
' + @@ -353,6 +364,7 @@ function formatInfo(data) { "
" + clientInfo + dnssecInfo + + edeInfo + statusInfo + cnameInfo + listInfo +