From b06320ecccb92b50b7899171f433d46c4e089f97 Mon Sep 17 00:00:00 2001 From: yubiuser Date: Sun, 9 Nov 2025 15:27:32 +0100 Subject: [PATCH] Remove TTL remains from query log Signed-off-by: yubiuser --- scripts/js/queries.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/scripts/js/queries.js b/scripts/js/queries.js index c9f3de24..d48c39fc 100644 --- a/scripts/js/queries.js +++ b/scripts/js/queries.js @@ -389,22 +389,6 @@ function formatInfo(data) { divStart + "Query was blocked during CNAME inspection of  " + data.cname + ""; } - // Show TTL if applicable - let ttlInfo = ""; - if (data.ttl > 0) { - ttlInfo = - divStart + - "Time-to-live (TTL):  " + - luxon.Duration.fromObject({ seconds: data.ttl }).toHuman({ - smallestUnit: "seconds", - maxUnits: 2, - stripZeroUnits: "all", - }) + - " (" + - data.ttl + - "s)"; - } - // Show client information, show hostname only if available const ipInfo = data.client.name !== null && data.client.name.length > 0