From 4ff16a7bf60bee173a1ff2dce42a7488120b55f4 Mon Sep 17 00:00:00 2001 From: Aquila Cooper Date: Sat, 7 Jan 2023 10:55:00 +0000 Subject: [PATCH 1/2] stubby: Update to 0.4.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changelog from upstream (https://github.com/getdnsapi/stubby/blob/v0.4.3/ChangeLog): * 2022-12-22: version 0.4.3 * Fix Issue getdnsapi/stubby#330 and PR getdnsapi/stubby#324: PrivateUsers=false needed in systemd stubby.service file for stubby to start. Thanks Archcan and Petr Menšík * PR getdnsapi/stubby#323: Reduce log messages when interface is offline. Thanks Russ Bubley and Andre Heider * 2022-08-19: version 0.4.2 * Fix Issue getdnsapi/stubby#320: Stubby doesn't start without "log_level" entry. Thanks Johnny S. Lee * 2022-08-19: Version 0.4.1 * Several updates to the servers in the config file: * sinodun.dnsovertls*.com servers are removed and will be decommissioned in the near future. This leaves only the getdnsapi.net server as the default. A recommendation is made that users choose additional servers from the list available. * Additional Quad9 servers added (thanks pataquets). * LDN servers removed as the service is now stopped. * Tidy up of remaining server data. * Change `comment` lines on Uncensored server data to more clearly be comments (not valid YAML) * Fix and improve descriptions of default values * getdnsapi.net DoT servers liston on port 443 now too * Fixes for parsing of quoted key values for `tls-ca-file`, `tls-curves-list` and `resolvconf` * Add Dockerfile into `contrib` - thanks to pataquets. * Strengthen version checking for LibIDN2 during the cmake step so LibIDN2 version 2.3.3 can be properly found (thanks jpbion). * Updated stubby.service file. Thanks Bruno Pagani * log level configurable in config file with log_level setting Command line setting (with -v or -l) overrules the config file setting Signed-off-by: Aquila Cooper --- net/stubby/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/stubby/Makefile b/net/stubby/Makefile index 77f8d87708569..25af732c62ca2 100644 --- a/net/stubby/Makefile +++ b/net/stubby/Makefile @@ -5,13 +5,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=stubby -PKG_VERSION:=0.4.0 -PKG_RELEASE:=6 +PKG_VERSION:=0.4.3 +PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/getdnsapi/$(PKG_NAME) PKG_SOURCE_VERSION:=v$(PKG_VERSION) -PKG_MIRROR_HASH:=bc5f604da1b70287a6c3d89eac2e13ce8bca52840e7b72ab098a3deeb9935082 +PKG_MIRROR_HASH:=2fd0bc4db1d6f08be63e8f092939054a5e4e884db9a521d1033f89a8b3f5d132 PKG_MAINTAINER:= PKG_LICENSE:=BSD-3-Clause From f709ba1ee29f7beaabf9fbee34a6d9f24181f081 Mon Sep 17 00:00:00 2001 From: Aquila Cooper Date: Sat, 7 Jan 2023 11:34:00 +0000 Subject: [PATCH 2/2] stubby: Restart on interface trigger Cherry-picked from commit 3c04a6d235346f82b9c5a79baeee1367eeb2a979. Force restart stubby if any of the trigger interfaces goes up or down. Avoids DoT DNS lookup timeouts when default route changes, in case of multiple upstream interfaces. Signed-off-by: Aquila Cooper --- net/stubby/files/stubby.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/stubby/files/stubby.init b/net/stubby/files/stubby.init index 5d0574aedb6bf..5742905002028 100755 --- a/net/stubby/files/stubby.init +++ b/net/stubby/files/stubby.init @@ -270,7 +270,7 @@ service_triggers() for trigger_item in $trigger do - procd_add_interface_trigger "interface.*.up" "$trigger_item" "$stubby_init" start + procd_add_interface_trigger "interface.*" "$trigger_item" "$stubby_init" restart done procd_add_reload_trigger "stubby"