Enhancement: Add node parameter to Technitium DNS Widget (#6638)

This commit is contained in:
Rob van Oostenrijk
2026-05-07 10:58:48 +04:00
committed by GitHub
parent 72b0e493d0
commit ce8f020b7b
4 changed files with 8 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ widget:
type: technitium
url: <url to dns server>
key: biglongapitoken
node: <node dns name or cluster> # optional, defaults to current node
range: LastDay # optional, defaults to LastHour
```
@@ -21,6 +22,10 @@ widget:
This can be generated via the Technitium DNS Dashboard, and should be generated from a special API specific user.
#### Node
`node` value determines which Technitium cluster node the statistics are returned for. Specifying a value of `cluster` returns aggregrate stats for all nodes in the cluster. Specify a node domain name to return specific node stats, no value returns stats for the node against which the API is executed.
#### Range
`range` value determines how far back of statistics to pull data for. The value comes directly from Technitium API documentation found [here](https://github.com/TechnitiumSoftware/DnsServer/blob/master/APIDOCS.md#dashboard-api-calls), defined as `"type"`. The value can be one of: `LastHour`, `LastDay`, `LastWeek`, `LastMonth`, `LastYear`.