Sorry that this isn't actually an answer, but does it matter? What client has a 5s timeout before the client moves on to its own next resolver?
On Mon, Jun 3, 2024 at 8:28 AM Scott Q. via Unbound-users < unbound-users@lists.nlnetlabs.nl> wrote: > Is there a way to configure within Unbound a backup resolver for all > queries that take over 5 seconds for example ? > > Aka, I'd like to forward to 8.8.8.8 all queries that I can't resolve for > whatever reason: network issues, firewalls, etc. > > For example: dig +trace 77.184.100.61.in-addr.arpa > > This sometimes takes 10 seconds to resolve, other times it times out > completely but 8.8.8.8 can return an answer within 1 second. > > I also don't want to implement a per-host/network/domain solution, I just > want to forward all queries that take longer than 5 seconds. > > Is it possible or is there an alternative ? > > Thank you >