<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div>Hi,</div><div><br></div><div>I am caching positive responses for 40 minutes (min-cache-ttl), but want negative responses cached for only 1 minute. If the forward zone server is down momentarily, all of the queries during that time could result in an erroneous negative response that gets cached for 40 minutes and unreachable during that time instead of the desired 1 minute.</div><div><br></div><div>With neg-ttl working as expected, a retry after the 1 minute mark would result in a positive response.</div><div><br></div><div>In general, negative responses shouldn't have a high TTL.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 20, 2022 at 4:59 PM Geert Stappers via Dnsmasq-discuss <<a href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk">dnsmasq-discuss@lists.thekelleys.org.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Sep 20, 2022 at 10:41:29AM -0400, Glenn Fowler wrote:<br>
> Hello,<br>
> <br>
> I have observed that if min-cache-ttl time is greater than neg-ttl time,<br>
> then the neg-ttl time is ignored and negative responses are cached at the<br>
> min-cache-ttl time.<br>
> <br>
> The expected behavior should be that neg-ttl is independent of<br>
> min-cache-ttl.<br>
<br>
What are the negative effects of it? (a.k.a. With which priority needs<br>
it further attention?)<br>
<br>
<br>
> In searching I did find that unbound had the exact same issue:<br>
> <a href="https://github.com/NLnetLabs/unbound/issues/533" rel="noreferrer" target="_blank">https://github.com/NLnetLabs/unbound/issues/533</a><br>
> <br>
> I am on v2.86 on OpenWrt<br>
> <br>
> Thank you<br>
<br>
Thanks for what?<br>
<br>
<br>
Groeten<br>
Geert Stappers<br>
-- <br>
Silence is hard to parse<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss" rel="noreferrer" target="_blank">https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss</a><br>
</blockquote></div>