Enable HTTP API in knot-resolver config for performant retrieval of kresd 
metrics

Signed-off-by: Robin Roevens <[email protected]>
---
 config/knot-resolver/config.yaml | 4 ++++
 1 file changed, 4 insertions(+)

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: |
-- 
2.54.0


-- 
Dit bericht is gescanned op virussen en andere gevaarlijke
inhoud door MailScanner en lijkt schoon te zijn.


Reply via email to