<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">RFC say all</p>
<p style="margin-top:0;margin-bottom:0">read RFC</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">BIND is a DNS system not an alien so follow RFC</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Go and read RFC</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> bind-users <bind-users-bounces@lists.isc.org> on behalf of ip admin via bind-users <bind-users@lists.isc.org><br>
<b>Sent:</b> Friday, October 5, 2018 4:13 PM<br>
<b>To:</b> bind-users@lists.isc.org<br>
<b>Subject:</b> Which timeouts are used by BIND when resolving recursive queries?</font>
<div> </div>
</div>
<meta content="text/html; charset=utf-8">
<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>
</body>
</html>