<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 5, 2018 at 11:12 AM Alberto Colosi <<a href="mailto:alcol@hotmail.com">alcol@hotmail.com</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">




<div dir="ltr">
<div id="gmail-m_3248634401946276395divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0px;margin-bottom:0px">RFC say all</p>
<p style="margin-top:0px;margin-bottom:0px">read RFC</p>
<p style="margin-top:0px;margin-bottom:0px"><br>
</p>
<p style="margin-top:0px;margin-bottom:0px">BIND is a DNS system not an alien so follow RFC</p></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:verdana,sans-serif">No, BIND is an **implementation** of DNS software.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">There is much in the RFCs that is subject to interpretation, or not necessarily well defined. Things like preferred timeouts fall into this category.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">This answer is almost as helpful as Alberto's, but as far as I know, these timeouts are not well defined, other than in the BIND source. </div><br></div><div><div class="gmail_default" style="font-family:verdana,sans-serif">Here is some of what you are looking for: </div><div class="gmail_default"><font face="verdana, sans-serif"><a href="http://users.isc.org/~each/doxygen/bind9/resolver_8c-source.html#l00143">http://users.isc.org/~each/doxygen/bind9/resolver_8c-source.html#l00143</a></font><br></div><div class="gmail_default"><font face="verdana, sans-serif">and </font></div><div class="gmail_default"><font face="verdana, sans-serif"><a href="http://users.isc.org/~each/doxygen/bind9/resolver_8c-source.html#l00178">http://users.isc.org/~each/doxygen/bind9/resolver_8c-source.html#l00178</a><br></font></div><div class="gmail_default">and</div><div class="gmail_default"><a href="http://users.isc.org/~each/doxygen/bind9/resolver_8c-source.html#l02083">http://users.isc.org/~each/doxygen/bind9/resolver_8c-source.html#l02083</a><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">and some of the defaults:</div><div class="gmail_default" style="font-family:verdana,sans-serif"><a href="https://github.com/isc-projects/bind9/blob/fa03f941027cdcccc060613f773e63701b5baa77/bin/named/config.c">https://github.com/isc-projects/bind9/blob/fa03f941027cdcccc060613f773e63701b5baa77/bin/named/config.c</a> </div><br></div><div><br></div><div><br></div><div><div class="gmail_default" style="font-family:verdana,sans-serif">The ARM ("<a href="https://www.isc.org/downloads/bind/doc/bind-9-10/">https://www.isc.org/downloads/bind/doc/bind-9-10/</a>" ) has some useful info too -- <a href="https://www.isc.org/downloads/bind/doc/bind-9-10/">https://www.isc.org/downloads/bind/doc/bind-9-10/</a></div></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div id="gmail-m_3248634401946276395divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0px;margin-bottom:0px"><br>
</p>
<p style="margin-top:0px;margin-bottom:0px">Go and read RFC</p></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:verdana,sans-serif">Great. Please point at the RFC which specifies the base timeout and EDNS0 backoff.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">W</div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div id="gmail-m_3248634401946276395divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0px;margin-bottom:0px"><br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="gmail-m_3248634401946276395divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> bind-users <<a href="mailto:bind-users-bounces@lists.isc.org" target="_blank">bind-users-bounces@lists.isc.org</a>> on behalf of ip admin via bind-users <<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a>><br>
<b>Sent:</b> Friday, October 5, 2018 4:13 PM<br>
<b>To:</b> <a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
<b>Subject:</b> Which timeouts are used by BIND when resolving recursive queries?</font>
<div> </div>
</div>

<div>
<div dir="ltr">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div> I understand that I can configure a global timeout for resolving recursive queries (resolver-query-timeout) but find that I cannot configure the timeout for an individual query used during DNS resolution.</div>
<div><br>
</div>
<div> For testing I configured one unreachable forwarder (and enabled forward only) and saw (tcpdump) that BIND (9.10.6-P1) is first trying two queries with EDNS which each seems to have a timeout of 1.2s. Afterwards queries without ENDS are sent which seem
 to have a timeout of 1.6s, then 3.2s, then 6.4s, then 9s, finally the maximum (=total) resolver-query-timeout of 30s is reached.</div>
<div><br>
</div>
<div> Is the timeout behaviour documented anywhere (similar to a stub resolver or dig, i.e. how long are timeouts, how many tries per server etc).</div>
<div><br>
</div>
<div> If someone did find a logging setting that shows which servers are used when recursing (forwarding or delegations) to find a response (and when the individual queries time out) that would be helpful as well.<br>
</div>
<div><br>
</div>
<div>Regards</div>
<div> Tom</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

_______________________________________________<br>
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">I don't think the execution is relevant when it was obviously a bad idea in the first place.<br>This is like putting rabid weasels in your pants, and later expressing regret at having chosen those particular rabid weasels and that pair of pants.<br>   ---maf</div></div></div></div></div></div></div></div></div></div>