Message ID | 87wmf1m28v.fsf@gnu.org |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 66DF527BBEA; Sat, 11 Jan 2025 22:10:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8B8C527BBE2 for <patchwork@mira.cbaines.net>; Sat, 11 Jan 2025 22:10:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tWjgD-0002du-53; Sat, 11 Jan 2025 17:10:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tWjgA-0002aE-N7 for guix-patches@gnu.org; Sat, 11 Jan 2025 17:10:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tWjgA-0004zd-D3 for guix-patches@gnu.org; Sat, 11 Jan 2025 17:10:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=fAJTbi8yvcJtWL+4t4omo0Bo81ptHsuJUbfHGXm6BOY=; b=u25Bc5D7N+gxPk3c9TyPHB6ms0JNQGQnECmb3NH8o4AjyJ0VNj/E6tg4e6ck8p0UPWD5/mgMa7SALQcRtiwALctLnFaej1WxRccMAYN27WOv+LIQ0DQXzr0YtA2rR9FEZU6AM/xs0aeBWROasqLlrCRMXoOOSNxA9if6nsf6/5wDcw6nXn8u/L/vkpgn8Fl+7uAX3uvIEYK3ZqQWAC7h0ky47eRwQqg/3+qgtef788bLcO3rJKbe7WNcX31IXbS50iuEKx5np3Ep+ZFkpQPWRYmMaZ45ymXdrfoGL9VFVG5f6B1mQuxpSYikXTVocdyXWf9tauijv7A0A6VG06OiGg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tWjg9-0007mM-VI for guix-patches@gnu.org; Sat, 11 Jan 2025 17:10:01 -0500 Subject: bug#68757: [PATCH v3 1/1] services: dns: Add unbound service Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-To: guix-patches@gnu.org Resent-Date: Sat, 11 Jan 2025 22:10:01 +0000 Resent-Message-ID: <handler.68757.D68757.173663339029874.done@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 68757 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: soeren@soeren-tempel.net Cc: 68757-done@debbugs.gnu.org Mail-Followup-To: 68757@debbugs.gnu.org, ludo@gnu.org, soeren@soeren-tempel.net Received: via spool by 68757-done@debbugs.gnu.org id=D68757.173663339029874 (code D ref 68757); Sat, 11 Jan 2025 22:10:01 +0000 Received: (at 68757-done) by debbugs.gnu.org; 11 Jan 2025 22:09:50 +0000 Received: from localhost ([127.0.0.1]:45207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tWjfy-0007lj-1X for submit@debbugs.gnu.org; Sat, 11 Jan 2025 17:09:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38608) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ludo@gnu.org>) id 1tWjfv-0007lU-IU for 68757-done@debbugs.gnu.org; Sat, 11 Jan 2025 17:09:48 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@gnu.org>) id 1tWjfp-0004yI-Dc; Sat, 11 Jan 2025 17:09:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=fAJTbi8yvcJtWL+4t4omo0Bo81ptHsuJUbfHGXm6BOY=; b=BfypFoVESYaCrKuH69lS PPsBAzYrVzePmnfVXXLtOJXnMa0PbLwxYMaen1LSxD5uD3NnQXMTV6n8N328H+VFAYGo5I4rvHjPA kVpI5cbPsMB7c1yvomyFqC/ZDXX3mMKhdtXvNNOZPj/s4yGitKkUw89gde3CBZouvge7K0PltboKi RhsveA2hbEr5CxQ8rONxqrXRAHWmYUpo+QA66w/U5F5+hPDigNLyE/p4HvCYf330QbF3+Rme9Xm8/ fsgusiP1OpUSdeYQA1aLQBdWieUzCTSE0CLXn4kpTOwpgjp+KtHkkGVSU0wCUu/Rmoxwmg2mqBtYJ Aqsbu6Xng8QmJA==; From: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org> In-Reply-To: <20250108211416.27602-1-soeren@soeren-tempel.net> (soeren@soeren-tempel.net's message of "Wed, 8 Jan 2025 22:13:54 +0100") References: <20240127121040.7156-2-soeren@soeren-tempel.net> <20250108211416.27602-1-soeren@soeren-tempel.net> Date: Sat, 11 Jan 2025 23:09:36 +0100 Message-ID: <87wmf1m28v.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
bug#68757: [PATCH v3 1/1] services: dns: Add unbound service
|
|
Commit Message
Ludovic Courtès
Jan. 11, 2025, 10:09 p.m. UTC
Hello, soeren@soeren-tempel.net skribis: > From: Sören Tempel <soeren@soeren-tempel.net> > > This allows using Unbound as a local DNSSEC-enabled resolver. This > commit also allows configuration of the Unbound DNS resolver via a > Scheme API. The API currently provides very common options and > includes an escape hatch to enable less common configurations. > > * gnu/service/dns.scm (unbound-serialize-field): New procedure. > * gnu/service/dns.scm (unbound-serialize-alist): New procedure. > * gnu/service/dns.scm (unbound-serialize-section): New procedure. > * gnu/service/dns.scm (unbound-serialize-string): New procedure. > * gnu/service/dns.scm (unbound-serialize-boolean): New procedure. > * gnu/service/dns.scm (unbound-serialize-list-of-strings): New procedure. > * gnu/service/dns.scm (unbound-zone): New record. > * gnu/service/dns.scm (unbound-serialize-unbound-zone): New procedure. > * gnu/service/dns.scm (unbound-serialize-list-of-unbound-zone): New procedure. > * gnu/service/dns.scm (unbound-remote): New record. > * gnu/service/dns.scm (unbound-serialize-unbound-remote): New procedure. > * gnu/service/dns.scm (unbound-server): New record. > * gnu/service/dns.scm (unbound-serialize-unbound-server): New procedure. > * gnu/service/dns.scm (unbound-configuration): New record. > * gnu/service/dns.scm (unbound-config-file): New procedure. > * gnu/service/dns.scm (unbound-shepherd-service): New procedure. > * gnu/service/dns.scm (unbound-account-service): New constant. > * gnu/service/dns.scm (unbound-service-type): New services. > * gnu/tests/dns.scm: New file. > * gnu/local.mk: Add new files. > * doc/guix.texi: Add documentation. > > Signed-off-by: Sören Tempel <soeren@soeren-tempel.net> Applied with the cosmetic changes below and tweaks to the commit log, such as remove repetitions of the file name. Thanks! Ludo’.
Comments
Hi Ludo, Thanks for applying the patchset and the fixes that you added on top. However, it seems you committed the v3 of the patchset by accident, instead of the v4. I forgot to CC you in the v4, so you probably didn't see it (sorry for that!). I created #75513 to re-add the small changes from the v4: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75513 Sorry for the inconvenience and thanks for your patience! Greetings Sören Ludovic Courtès <ludo@gnu.org> wrote: > Hello, > > soeren@soeren-tempel.net skribis: > > > From: Sören Tempel <soeren@soeren-tempel.net> > > > > This allows using Unbound as a local DNSSEC-enabled resolver. This > > commit also allows configuration of the Unbound DNS resolver via a > > Scheme API. The API currently provides very common options and > > includes an escape hatch to enable less common configurations. > > > > * gnu/service/dns.scm (unbound-serialize-field): New procedure. > > * gnu/service/dns.scm (unbound-serialize-alist): New procedure. > > * gnu/service/dns.scm (unbound-serialize-section): New procedure. > > * gnu/service/dns.scm (unbound-serialize-string): New procedure. > > * gnu/service/dns.scm (unbound-serialize-boolean): New procedure. > > * gnu/service/dns.scm (unbound-serialize-list-of-strings): New procedure. > > * gnu/service/dns.scm (unbound-zone): New record. > > * gnu/service/dns.scm (unbound-serialize-unbound-zone): New procedure. > > * gnu/service/dns.scm (unbound-serialize-list-of-unbound-zone): New procedure. > > * gnu/service/dns.scm (unbound-remote): New record. > > * gnu/service/dns.scm (unbound-serialize-unbound-remote): New procedure. > > * gnu/service/dns.scm (unbound-server): New record. > > * gnu/service/dns.scm (unbound-serialize-unbound-server): New procedure. > > * gnu/service/dns.scm (unbound-configuration): New record. > > * gnu/service/dns.scm (unbound-config-file): New procedure. > > * gnu/service/dns.scm (unbound-shepherd-service): New procedure. > > * gnu/service/dns.scm (unbound-account-service): New constant. > > * gnu/service/dns.scm (unbound-service-type): New services. > > * gnu/tests/dns.scm: New file. > > * gnu/local.mk: Add new files. > > * doc/guix.texi: Add documentation. > > > > Signed-off-by: Sören Tempel <soeren@soeren-tempel.net> > > Applied with the cosmetic changes below and tweaks to the commit log, > such as remove repetitions of the file name. > > Thanks! > > Ludo’.
diff --git a/doc/guix.texi b/doc/guix.texi index a9b548cd45..3a64fede2d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -135,6 +135,7 @@ Copyright @copyright{} 2024 Troy Figiel@* Copyright @copyright{} 2024 Sharlatan Hellseher@* Copyright @copyright{} 2024 45mg@* +Copyright @copyright{} 2025 Sören Tempel@* Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -34303,8 +34304,9 @@ DNS Services @subsubheading Unbound Service @defvar unbound-service-type -This is the type of the unbound service, whose value should be a -@code{unbound-configuration} object as in this example: +This is the type of the service to run @uref{https://www.unbound.net, +Unbound}, a validating, recursive, and caching DNS resolver. Its value +must be a @code{unbound-configuration} object as in this example: @lisp (service unbound-service-type