<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Hi Remi,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">I think I narrowed this down to cache cleanup. Specifically:</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><a href="https://github.com/PowerDNS/pdns/blob/master/pdns/dnsdist.cc#L1713">https://github.com/PowerDNS/pdns/blob/master/pdns/dnsdist.cc#L1713</a></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">default is 60, my TTL was 60 so that’s why I got about two minutes of “availability”. Setting setCacheCleaning<span class="highlighted">Percentage to 0 seems to do what I want, however that would mean cache will not get expunged at all. Does this have some negative side effects? i.e if we hit the limit, and new query needs to go in, what will happen?<br></span></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><span class="highlighted"><br></span></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><span class="highlighted">Thanks,</span></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><span class="highlighted">Nick</span></div> <div id="bloop_sign_1520531609362020864" class="bloop_sign"></div> <br><p class="airmail_on">On March 8, 2018 at 6:52:37 PM, Remi Gacogne (<a href="mailto:remi.gacogne@powerdns.com">remi.gacogne@powerdns.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>Hi Nick,
<br>
<br>On 03/08/2018 06:41 PM, nocturo wrote:
<br>> Sent message too early. To recap, I would assume the config to leave
<br>> things in cache for up to 86400 seconds but looks like cache get
<br>> expunged after those two minutes:
<br>> [...]
<br>> I don't know where that time would come from and quickly searching
<br>> trough source doesn't seem to indicate any such value. (120)
<br>
<br>The cache respects the TTLs present in the DNS response, so my
<br>assumption is that the response you are looking for has a TTL of 120s.
<br>
<br>Cheers,
<br>--  
<br>Remi Gacogne
<br>PowerDNS.COM BV - <a href="https://www.powerdns.com/">https://www.powerdns.com/</a>
<br>
<br>_______________________________________________<br>dnsdist mailing list<br><a href="mailto:dnsdist@mailman.powerdns.com">dnsdist@mailman.powerdns.com</a><br><a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist">https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br></div></div></span></blockquote></body></html>