Prefetch threshold

Pavel Odintsov pavel at cloudflare.com
Fri Dec 9 10:06:54 UTC 2016


Hello!

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 unbound.net> 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 cloudflare.com
<https://www.cloudflare.com/>

1 888 99 FLARE  |  www.cloudflare.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20161209/03f97330/attachment.htm>


More information about the Unbound-users mailing list