<div dir="ltr">Hello,<div><br></div><div style>I didn't yet read the caching algorithm, but does dnscache by any chance preemptively refresh the entries that are about to expire a few seconds before expiration, or will it just drop the entry from the cache and then lazily resolve it again if needed, using an upstream recursive server?</div>
<div style><br></div><div style>This use case could be useful for server-side use against entries with short TTL that always change such as Amazon AWS ELBs which rotate IPs a lot and use 60s TTL by default. I think a preemptive resolution would somehow even out all the requests.</div>
<div style><br></div><div style>Off course, this approach would mean that the cache policy would have to be updated, so entries are cleared depending on the last recent usage not on their TTL expiration.</div><div style>
<br>
</div><div style>Thanks,</div><div style>Cristian</div></div>