OpenBSD/src 3gUT1tE — sbin/unwind resolver.c frontend.c
Do not check every resolver every 30 seconds as that is wasteful and pointless. Trigger a check - on startup - when forwarders change on config reload - when dhcp provided forwarders change - on network interface state change When a check finishes and the checked resolver cannot resolve anything configure a timer to run another check in the future using an exponential backoff for the timeout.
Version | Delta | File | |
---|---|---|---|
1.25 | +67 | -6 | sbin/unwind/resolver.c |
1.18 | +5 | -1 | sbin/unwind/frontend.c |
1.12 | +2 | -1 | sbin/unwind/unwind.h |
+74 | -8 | 3 files |