From 242559ff9b83cf01f850bd27ee0f74a2e13f2fd9 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 5 Feb 2022 10:45:41 +0100 Subject: [PATCH 1/2] Add documentation for https://github.com/pi-hole/FTL/pull/1295 Signed-off-by: DL6ER --- docs/ftldns/telnet-api.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/ftldns/telnet-api.md b/docs/ftldns/telnet-api.md index 0347bbb68..893139a39 100644 --- a/docs/ftldns/telnet-api.md +++ b/docs/ftldns/telnet-api.md @@ -161,6 +161,12 @@ Connect via e.g. `telnet 127.0.0.1 4711` or use `echo ">command" | nc 127.0.0.1 53 ``` +- `>maxlogage`: Get timespan of the statistics shown on the dashboard + + ```text + 86400 + ``` + Note that the port can also be `0` if someone decides to disable the DNS server part of Pi-hole {!abbreviations.md!} From d1558679471701abce37f00d6bbd3e9dd90f3006 Mon Sep 17 00:00:00 2001 From: yubiuser Date: Sat, 12 Feb 2022 22:46:05 +0100 Subject: [PATCH 2/2] Add seconds --- docs/ftldns/telnet-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ftldns/telnet-api.md b/docs/ftldns/telnet-api.md index 893139a39..0df27843c 100644 --- a/docs/ftldns/telnet-api.md +++ b/docs/ftldns/telnet-api.md @@ -161,7 +161,7 @@ Connect via e.g. `telnet 127.0.0.1 4711` or use `echo ">command" | nc 127.0.0.1 53 ``` -- `>maxlogage`: Get timespan of the statistics shown on the dashboard +- `>maxlogage`: Get timespan of the statistics shown on the dashboard (in seconds) ```text 86400