From 3c04a6d235346f82b9c5a79baeee1367eeb2a979 Mon Sep 17 00:00:00 2001 From: "Aleksandr V. Piskunov" Date: Mon, 23 May 2022 20:06:37 +0300 Subject: [PATCH] stubby: restart on trigger interfaces 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: Aleksandr V. Piskunov --- 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 5d0574aedb..5742905002 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" -- 2.30.2