stubby: Restart on interface trigger
authorAquila Cooper <aquila@cpr.is>
Sat, 7 Jan 2023 11:34:00 +0000 (11:34 +0000)
committerGitHub <noreply@github.com>
Sat, 7 Jan 2023 11:34:00 +0000 (11:34 +0000)
commitf709ba1ee29f7beaabf9fbee34a6d9f24181f081
tree872e6f2c732b74a642e0ab695dc49b83316570de
parent4ff16a7bf60bee173a1ff2dce42a7488120b55f4
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 <aquila@cpr.is>
net/stubby/files/stubby.init