Backup resolver after X seconds

Scott Q. qmail at top-consulting.net
Mon Jun 3 21:02:45 UTC 2024


Some apps have even longer and don't even try a backup resolver

On Monday, 03/06/2024 at 15:57 Frank Cusack wrote:




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  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20240603/8ae3eed5/attachment.htm>


More information about the Unbound-users mailing list