Maintained by: NLnet Labs

Prefetch threshold

Pavel Odintsov
Fri Dec 9 11:06:54 CET 2016


Great question! I also interested so much in such option to tune "prefetch"
without changing code! :)

On Thu, Dec 8, 2016 at 7:56 PM, Drew Rampulla (drampull) via Unbound-users <
unbound-users at> wrote:

> Has anyone considered an enhancement to unbound prefetch to be able to
> configure the threshold to trigger when the prefetch runs instead of hard
> coding it to 10% of the TTL?  My intent was to handle cases where the DNS
> is unreachable, but still allow an application to continue working by using
> the previously known IP addresses.  So in my world I would set
> prefetch=yes, cache-min-ttl=1D, new_prefetch-threshold=1D minus 5 minutes.
> In this way I would be able to refresh the DNS every 5 minutes, but be able
> to work for up to a day without a valid DNS entry.
> Thanks,
> Andrew Rampulla


*Pavel Odintsov*  |  DNS engineer
pavel at

1 888 99 FLARE  |
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>