Re: [Dnsmasq-discuss] min-cache-ttl overriding neg-ttl

2022-09-26 Thread Glenn Fowler
Hi, Thank you for the information and clarification. Although I would still like to have a separate ttl for negative caching regardless of what is set for min-cache-ttl, maybe a note on the man page to note this behavior for the community. Thanks! On Wed, Sep 21, 2022 at 7:45 AM Simon Kelley

Re: [Dnsmasq-discuss] min-cache-ttl overriding neg-ttl

2022-09-21 Thread Simon Kelley
On 20/09/2022 23:54, Glenn Fowler wrote: Hi, 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

Re: [Dnsmasq-discuss] min-cache-ttl overriding neg-ttl

2022-09-20 Thread Glenn Fowler
Hi, 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

Re: [Dnsmasq-discuss] min-cache-ttl overriding neg-ttl

2022-09-20 Thread Geert Stappers via Dnsmasq-discuss
On Tue, Sep 20, 2022 at 10:41:29AM -0400, Glenn Fowler wrote: > Hello, > > I have observed that if min-cache-ttl time is greater than neg-ttl time, > then the neg-ttl time is ignored and negative responses are cached at the > min-cache-ttl time. > > The expected behavior should be that neg-ttl