Prefetch Serve expired behavior per cache

ashok athukuri athukuriashok at gmail.com
Fri May 13 05:25:41 UTC 2022


Hello All,

I am a newbie for unbound, please apologize if my question is wrong or my
understanding is wrong.

I see below variables make unbound to use a single configuration for all
cache resolvers.
As these variables are global and don't bind with any unbound context or
configuration for each cache

I wonder how to solve this problem? as I need different cache conf for
different cache resolvers.

64  <https://indexing2.f5net.com/source/xref/tmos-dns-bugs/ports/unbound/build/util/data/msgreply.c#64>
/** If we serve expired entries and prefetch them */65
<https://indexing2.f5net.com/source/xref/tmos-dns-bugs/ports/unbound/build/util/data/msgreply.c#65>
THREAD <https://indexing2.f5net.com/source/s?defs=THREAD&project=tmos-dns-bugs>
*int* SERVE_EXPIRED
<https://indexing2.f5net.com/source/s?refs=SERVE_EXPIRED&project=tmos-dns-bugs>
= 0;66  <https://indexing2.f5net.com/source/xref/tmos-dns-bugs/ports/unbound/build/util/data/msgreply.c#66>
/** Time to serve records after expiration */67
<https://indexing2.f5net.com/source/xref/tmos-dns-bugs/ports/unbound/build/util/data/msgreply.c#67>
THREAD <https://indexing2.f5net.com/source/s?defs=THREAD&project=tmos-dns-bugs>
time_t <https://indexing2.f5net.com/source/s?defs=time_t&project=tmos-dns-bugs>
SERVE_EXPIRED_TTL
<https://indexing2.f5net.com/source/s?refs=SERVE_EXPIRED_TTL&project=tmos-dns-bugs>
= 0;68  <https://indexing2.f5net.com/source/xref/tmos-dns-bugs/ports/unbound/build/util/data/msgreply.c#68>
/** TTL to use for expired records */69
<https://indexing2.f5net.com/source/xref/tmos-dns-bugs/ports/unbound/build/util/data/msgreply.c#69>
THREAD <https://indexing2.f5net.com/source/s?defs=THREAD&project=tmos-dns-bugs>
time_t <https://indexing2.f5net.com/source/s?defs=time_t&project=tmos-dns-bugs>
SERVE_EXPIRED_REPLY_TTL
<https://indexing2.f5net.com/source/s?refs=SERVE_EXPIRED_REPLY_TTL&project=tmos-dns-bugs>
= 30;


Thanks,

Ashok
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20220513/18de8fda/attachment.htm>


More information about the Unbound-users mailing list