<div dir="ltr">Hi <div>I have installed unbound version: 1.20.0 on a FreeBSD 14 server. This was working fine until the server lost internet connectivity to the upstream internet provider. Prior to this the average cache hit rate on the server was 99.0% with only 1% recursive replies.</div><div>Part of my unbound.conf file is shown below</div><div><br></div><pre id="gmail-codecell0"><font face="arial, sans-serif">server:
prefetch: yes
serve-expired: yes</font></pre><pre id="gmail-codecell0"><font face="arial, sans-serif"># serve-expired-ttl: 0<br></font></pre><pre id="gmail-codecell0"><font face="arial, sans-serif"> # serve-expired-ttl-reset: no</font><br></pre><pre id="gmail-codecell0"><font face="arial, sans-serif">After loss of internet average cache hit rate has reduced to 14% whiles recursive queries is showing 86% (still internet is not restored)</font></pre><pre id="gmail-codecell0"><font face="arial, sans-serif">My expectation is </font></pre><pre id="gmail-codecell0"><font face="arial, sans-serif">Caching server should continue to serve expired and keep the cache hit rate high because the serve-expired-ttl is default </font></pre><pre id="gmail-codecell0"><font face="arial, sans-serif">(meaning it should continue serving cached content until upstream is restored).</font></pre><pre id="gmail-codecell0"><font face="arial, sans-serif">My observation is the opposite. Is there anything I am missing? How can i ensure that the caching server will continue serving cache data several days after upstream</font></pre><pre id="gmail-codecell0"><font face="arial, sans-serif">internet is lost</font></pre><pre id="gmail-codecell0"><font face="arial, sans-serif">Regards</font></pre><pre id="gmail-codecell0"><font face="arial, sans-serif">Isaac </font></pre><pre id="gmail-codecell0"><font face="arial, sans-serif"><br></font></pre><pre id="gmail-codecell0"><br></pre><pre id="gmail-codecell0"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></pre></div>