mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix that flush_zone sets prefetch ttl expired, so that with
serve-expired enabled it'll start prefetching those entries. git-svn-id: file:///svn/unbound/trunk@4609 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
9cd2f836bd
commit
0e5abca6b7
3 changed files with 8 additions and 0 deletions
|
|
@ -1649,6 +1649,7 @@ zone_del_msg(struct lruhash_entry* e, void* arg)
|
||||||
struct reply_info* d = (struct reply_info*)e->data;
|
struct reply_info* d = (struct reply_info*)e->data;
|
||||||
if(d->ttl > inf->expired) {
|
if(d->ttl > inf->expired) {
|
||||||
d->ttl = inf->expired;
|
d->ttl = inf->expired;
|
||||||
|
d->prefetch_ttl = inf->expired;
|
||||||
inf->num_msgs++;
|
inf->num_msgs++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
9 April 2018: Wouter
|
||||||
|
- Fix that flush_zone sets prefetch ttl expired, so that with
|
||||||
|
serve-expired enabled it'll start prefetching those entries.
|
||||||
|
|
||||||
5 April 2018: Wouter
|
5 April 2018: Wouter
|
||||||
- Combine write of tcp length and tcp query for dns over tls.
|
- Combine write of tcp length and tcp query for dns over tls.
|
||||||
- nitpick fixes in example.conf.
|
- nitpick fixes in example.conf.
|
||||||
|
|
|
||||||
|
|
@ -144,6 +144,9 @@ Remove the name, type information from the cache.
|
||||||
Remove all information at or below the name from the cache.
|
Remove all information at or below the name from the cache.
|
||||||
The rrsets and key entries are removed so that new lookups will be performed.
|
The rrsets and key entries are removed so that new lookups will be performed.
|
||||||
This needs to walk and inspect the entire cache, and is a slow operation.
|
This needs to walk and inspect the entire cache, and is a slow operation.
|
||||||
|
The entries are set to expired in the implementation of this command (so,
|
||||||
|
with serve\-expired enabled, it'll serve that information but schedule a
|
||||||
|
prefetch for new information).
|
||||||
.TP
|
.TP
|
||||||
.B flush_bogus
|
.B flush_bogus
|
||||||
Remove all bogus data from the cache.
|
Remove all bogus data from the cache.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue