public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Robin Roevens <robin.roevens@disroot.org>
To: development@lists.ipfire.org
Cc: Robin Roevens <robin.roevens@disroot.org>
Subject: [PATCH] knot-resolver: Enable HTTP API
Date: Tue, 16 Jun 2026 22:15:45 +0200	[thread overview]
Message-ID: <20260616203719.1383402-2-robin.roevens@disroot.org> (raw)
In-Reply-To: <20260616203719.1383402-1-robin.roevens@disroot.org>

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(+)

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	other threads:[~2026-06-16 20:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-16 20:15 Knot resolver in CU 203: enable " Robin Roevens
2026-06-16 20:15 ` Robin Roevens [this message]
2026-06-17 13:11 ` Michael Tremer
2026-06-18 17:58   ` Robin Roevens
2026-06-18 17:58     ` [PATCH] zabbix_agentd: Add support for kresd metrics Robin Roevens
2026-06-20 12:09     ` Knot resolver in CU 203: enable HTTP API Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260616203719.1383402-2-robin.roevens@disroot.org \
    --to=robin.roevens@disroot.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox