<div dir="ltr">Thanks for the information Bert! <div>That sounds legit. Following your advice I will run some more benchmarks :)<div><br></div><div>Florent</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-12 14:18 GMT+02:00 bert hubert <span dir="ltr"><<a href="mailto:bert.hubert@powerdns.com" target="_blank">bert.hubert@powerdns.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Florent,<br>
<br>
The story is, PowerDNS Recursor makes a sweep every so many packets to find<br>
out if there are timeout conditions.<br>
<br>
So on a loaded recursor, you might get very accurate timeouts even below<br>
500ms.<br>
<br>
Can you redo your tests with traffic load?<br>
<br>
        Bert<br>
<span class=""><br>
On Thu, Sep 08, 2016 at 03:03:58PM +0200, Florent Krieg wrote:<br>
> Hmmm sorry to spam, doesn't seem relevant, we're using a more recent<br>
> version...<br>
> Investigation still going on...<br>
><br>
> 2016-09-08 15:00 GMT+02:00 Florent Krieg <<a href="mailto:flokrrr@gmail.com">flokrrr@gmail.com</a>>:<br>
><br>
> > Ok, that may be<br>
> ><br>
</span>> > *Make timeouts for queries to remote authoritative servers configurable<br>
<span class="">> > with millisecond granularity. In addition, the old code turned out to<br>
> > consider the timeout expired when the integral number of seconds since 1970<br>
> > increased by 1 - which on average is after 500ms. This might have caused<br>
> > spurious timeouts! New default timeout is 1500ms. See network-timeout<br>
</span>> > setting for more details. Code in commit 1402.*<br>
<span class="">> ><br>
> > :)<br>
> > Florent<br>
> ><br>
> > 2016-09-07 18:18 GMT+02:00 Florent Krieg <<a href="mailto:flokrrr@gmail.com">flokrrr@gmail.com</a>>:<br>
> ><br>
> >> Hello everybody,<br>
> >><br>
> >> Just wanted to know if there was any lower limit to the network-timeout<br>
> >> config param on the recursor?<br>
> >><br>
> >> I have a situation where I want to setup in advance a zone forward to<br>
> >> nameservers not already created in my network, and to avoid long queries I<br>
> >> wanted to setup for instance network-timeout to like 20ms on our recursors.<br>
> >><br>
> >> I have found however that setting this param to less than 500ms is<br>
> >> useless, as it seems to reach its lower value at 500ms. Is that expected ?<br>
> >><br>
> >> Thanks in advance.<br>
> >> Best regards<br>
> >> Florent<br>
> >><br>
> ><br>
> ><br>
<br>
</span>> ______________________________<wbr>_________________<br>
> Pdns-users mailing list<br>
> <a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.<wbr>com</a><br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">https://mailman.powerdns.com/<wbr>mailman/listinfo/pdns-users</a><br>
<br>
</blockquote></div><br></div>