| Message ID | 20260616203719.1383402-2-robin.roevens@disroot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <development+bounces-2294-patchwork=ipfire.org@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4gfzM51MGwz3wrf for <patchwork@web04.haj.ipfire.org>; Tue, 16 Jun 2026 20:37:37 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE1" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4gfzM503WBz775 for <patchwork@ipfire.org>; Tue, 16 Jun 2026 20:37:37 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4gfzM46SMJz2yBj for <patchwork@ipfire.org>; Tue, 16 Jun 2026 20:37:36 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4gfzM236s1z339r for <development@lists.ipfire.org>; Tue, 16 Jun 2026 20:37:34 +0000 (UTC) Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 4gfzM10Qvtz22Q for <development@lists.ipfire.org>; Tue, 16 Jun 2026 20:37:33 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=disroot.org header.s=mail header.b=H3Tx+hcs; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (mail01.ipfire.org: domain of robin.roevens@disroot.org designates 178.21.23.139 as permitted sender) smtp.mailfrom=robin.roevens@disroot.org ARC-Seal: i=1; a=rsa-sha256; d=lists.ipfire.org; s=202003rsa; cv=none; t=1781642253; b=RnxMzCc6gvBVy/mIwxkQUBgJReW8BAVhXv2FiealhW6SWhIx0gs6Smbyu3gTKEcoLfs2LD Zw+jdsdJocMNE1harmQVTEyOnF6h48TsbKWIjr/bLxqLinQw4ykrA7mbbdDNZxHEPBMTMO VvCfcFpcGoDn9pv49PGVpshXwrHGFN+JUsN59QhOSMIm69EWvJVB13d0Puid5Wvji+/d8n QOV0o2qDlj+sNF72cMIDy6gl1IzlD0Yj3B9tCA1Q3OJVKhxCCGC9FFIrw7Yp3xCRNK4s5J d88UnKHKimzhbj/9qc+PW8B8tarGg7JFwZ6MT+j+DqK/moTTk+tn0aEj0pH6ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1781642253; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=vPSR/Tr+LJ5zHpwG6qdcjL+dGsofOIUSPhEhCJT7b5o=; b=sN9DlxOgb6xtKS9MnoxiFQ07TYjGBj3iV4t6M/dlUO60VLuYZT14aJIxk0LRviIpHBJNIl 4ill7H3rf++rjNcTJ4QGZn1PVMpHsQc4OzjOJLbd7tuHVwbdG6Nj12Hev+eFezmbAm9FsE AnM4xQTfZfwV3SGl3vdmy7I60NfTiHURi9b57mTPPzTgQJW6aRYSSNQGZUKLVRFXQpzj1m 8bYv24B6u86fvj2utNEZA6erSO70Rc0ZkjteLr/p5XtvVTurDrwF3upCKQB30BcMmhUjJd UUMZ40QQ05NOWfCqZZXG2bJMbavUE9QQC+XxHV6SbUmPNEgisY4yAZ/dSAcq8g== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=disroot.org header.s=mail header.b=H3Tx+hcs; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (mail01.ipfire.org: domain of robin.roevens@disroot.org designates 178.21.23.139 as permitted sender) smtp.mailfrom=robin.roevens@disroot.org Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7876A2776B for <development@lists.ipfire.org>; Tue, 16 Jun 2026 22:37:32 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 1dSkwAS-jDFk for <development@lists.ipfire.org>; Tue, 16 Jun 2026 22:37:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1781642251; bh=wzmLAs+Eh3Hi22aZC+uOwh3LbLpYvWb59sNTDr5MDCE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=H3Tx+hcsSRXYoVEQQdR8gE2DoQW41UglQKZQhkhhPvMFuQ3z9ltm2Y7ywQkOD8o9V C3LDrNHLwbO/7sqizkKHc7YPTHHeJaHxlVfEVxiSrZrz7CCcEv9SZoxCHdt2OhSLTj lIQyB7rrGVaG7UZXkaXjpbtVMhmNqje6mXHq+8XIamzmAnOWjrBf5HReZv4xbNSKrn us8S3iVOG+zoaGoZkHS9WFh7C1vAe1ejlh9WrDStcZuCtAsw+Pa36bfmNwXOng0D5U +5Cvzk8vZPK4/7bgNCZFGKrYp0J2GLDS56+k/nKtZhQoo45+6UoYrGAqFS6XmEjiQi RdjWOh/+sLU5Q== Received: from chojin.roevenslambrechts.be (chojin.roevenslambrechts.be [192.168.0.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (no client certificate requested) (Authenticated sender) by hachiman (MailScanner Milter) with SMTP id D846154FC18; Tue, 16 Jun 2026 22:37:22 +0200 (CEST) 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 Message-ID: <20260616203719.1383402-2-robin.roevens@disroot.org> In-Reply-To: <20260616203719.1383402-1-robin.roevens@disroot.org> References: <20260616203719.1383402-1-robin.roevens@disroot.org> Precedence: list List-Id: <development.lists.ipfire.org> List-Subscribe: <https://lists.ipfire.org/>, <mailto:development+subscribe@lists.ipfire.org?subject=subscribe> List-Unsubscribe: <https://lists.ipfire.org/>, <mailto:development+unsubscribe@lists.ipfire.org?subject=unsubscribe> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development+help@lists.ipfire.org?subject=help> Sender: <development@lists.ipfire.org> Mail-Followup-To: <development@lists.ipfire.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-RoevensLambrechts-MailScanner-ID: D846154FC18.AD543 X-RoevensLambrechts-MailScanner: Found to be clean X-RoevensLambrechts-MailScanner-From: robin.roevens@disroot.org X-RoevensLambrechts-MailScanner-Watermark: 1782247043.96361@SqSgh4dt6swVg+qk+Dud3g X-Spamd-Result: default: False [-5.15 / 11.00]; BAYES_HAM(-3.00)[100.00%]; R_DKIM_ALLOW(-1.66)[disroot.org:s=mail]; MID_CONTAINS_FROM(1.00)[]; DKIM_REPUTATION(-0.93)[-0.93013458570948]; R_MISSING_CHARSET(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[disroot.org,reject]; R_SPF_ALLOW(-0.20)[+a]; SPF_REPUTATION_HAM(-0.15)[-0.15089918156123]; MX_GOOD(-0.10)[disroot.org]; MIME_GOOD(-0.10)[text/plain]; IP_REPUTATION_HAM(-0.01)[asn: 50673(0.00), country: NL(-0.01), ip: 178.21.23.139(0.00)]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:50673, ipnet:178.21.23.0/24, country:NL]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[development@lists.ipfire.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[disroot.org:+] X-Rspamd-Server: mail01.haj.ipfire.org X-Rspamd-Queue-Id: 4gfzM10Qvtz22Q X-Rspamd-Action: no action |
| 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(+)
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: |