knot-resolver: Enable HTTP API

Message ID 20260616203719.1383402-2-robin.roevens@disroot.org
State New
Headers
Series knot-resolver: Enable HTTP API |

Commit Message

Robin Roevens 16 Jun 2026, 8:15 p.m. UTC
Enable HTTP API in knot-resolver config for performant retrieval of kresd metrics

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
---
 config/knot-resolver/config.yaml | 4 ++++
 1 file changed, 4 insertions(+)
  

Patch

diff --git a/config/knot-resolver/config.yaml b/config/knot-resolver/config.yaml
index 7a2dd29fb..94872456a 100644
--- a/config/knot-resolver/config.yaml
+++ b/config/knot-resolver/config.yaml
@@ -36,6 +36,10 @@  options:
   # Detect time jumps
   time-jump-detection: true
 
+# Enable HTTP API
+management:
+  interface: 127.0.0.1@5000
+
 # Load our policy
 lua:
   script: |