<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hello,</span></div><div><span><br></span></div><div><span>You may wish to read ISC/BIND's ARM about these settings (i.e., what they do, how they work, what the defaults are, etc):<br></span></div><div><span><br></span></div><div><span>        recursive-clients N;<br>        tcp-clients M;<br>        clients-per-query P;<br>        max-clients-per-query R;<br></span></div><div><br></div><div>where N, M, P, and R are numbers appropriate for your environment for each respective option.<br></div>See <span>BIND v9.x ARM at https://kb.isc.org/category/116/0/10/Software-Products/BIND9/Documentation/</span><div><br></div><div>HTH<br><span></span></div><div><br><blockquote
 style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Holemans Wim <wim.holemans@ua.ac.be><br> <b><span style="font-weight: bold;">To:</span></b> "'bind-users@lists.isc.org'" <bind-users@lists.isc.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, June 15, 2012 4:25 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> limiting number of requests of a single hosts<br> </font> </div> <br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv1794047363">

 
 
<style><!--
#yiv1794047363  
 _filtered #yiv1794047363 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
#yiv1794047363  
#yiv1794047363 p.yiv1794047363MsoNormal, #yiv1794047363 li.yiv1794047363MsoNormal, #yiv1794047363 div.yiv1794047363MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:"sans-serif";}
#yiv1794047363 a:link, #yiv1794047363 span.yiv1794047363MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1794047363 a:visited, #yiv1794047363 span.yiv1794047363MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv1794047363 span.yiv1794047363EmailStyle17
        {font-family:"sans-serif";color:windowtext;font-weight:normal;font-style:normal;text-decoration:none none;}
#yiv1794047363 .yiv1794047363MsoChpDefault
        {font-family:"sans-serif";}
 _filtered #yiv1794047363 {margin:70.85pt 70.85pt 70.85pt 70.85pt;}
#yiv1794047363 div.yiv1794047363WordSection1
        {}
--></style>

<div>
<div class="yiv1794047363WordSection1">
<div class="yiv1794047363MsoNormal"><span lang="EN-US">We have a problem with one of our firewalls caused by DNS peaks. Once or twice a day a DNS burst (20K requests/15sec) kills all connections on the firewall.</span></div> 
<div class="yiv1794047363MsoNormal"><span lang="EN-US">The firewall is due for replacement but in the mean time we would like to stop these peaks at their origin or at least try to limit their impact.</span></div> 
<div class="yiv1794047363MsoNormal"><span lang="EN-US">  </span></div> 
<div class="yiv1794047363MsoNormal"><span lang="EN-US">We have 6 dns servers (bind) on our campus, that are all authoritative for our domains and also resolver for our campus hosts.</span></div> 
<div class="yiv1794047363MsoNormal"><span lang="EN-US">Most of our clients however use our AD/LDAP/DNS Microsoft servers as their resolver, which on their turn contact our 6 dns servers for further resolving.</span></div> 
<div class="yiv1794047363MsoNormal"><span lang="EN-US">  </span></div> 
<div class="yiv1794047363MsoNormal"><span lang="EN-US">What we figured out by packet capturing, is that at a certain point in time these AD/LDAP/DNS servers start ‘collecting’ dns requests without sending them further and then in a burt pass them on to our 6 dns servers which
 try to resolve these queries. Due to the fact that one request of a client mostly results in several queries of our dns servers to the outside world (root server contact, NS record resolving,..) , this results in a burst of dns requests through our firewalls,
 killing them.</span></div> 
<div class="yiv1794047363MsoNormal"><span lang="EN-US">  </span></div> 
<div class="yiv1794047363MsoNormal"><span lang="EN-US">I have 2 questions, one, is there a way  to rate-limit the amount of request a single client (the AD servers in this case) can have standing out against a bind server ? Kind of rate-limiting parameter for bind name server.</span></div> 
<div class="yiv1794047363MsoNormal"><span lang="EN-US">Two, has anyone already seen this type of behavior on a Microsoft AD/LDAP/DNS server and has a clue what could cause this stalling ? Solving that would be the best solution.</span></div> 
<div class="yiv1794047363MsoNormal"><span lang="EN-US">  </span></div> 
<div class="yiv1794047363MsoNormal"><span lang="EN-US">Thanks in advance for any suggestion, answer,</span></div> 
<div class="yiv1794047363MsoNormal"><span lang="EN-US">  </span></div> 
<div class="yiv1794047363MsoNormal"><span style="" lang="EN-US">Wim Holemans</span></div> 
<div class="yiv1794047363MsoNormal"><span style="" lang="EN-US">Netwerkdienst Universiteit Antwerpen</span></div> 
<div class="yiv1794047363MsoNormal"><span style="" lang="EN-US">Network Services University of Antwerp</span></div> 
<div class="yiv1794047363MsoNormal"><span lang="EN-US">  </span></div> 
</div>
</div>

</div><meta http-equiv="x-dns-prefetch-control" content="on"><br>_______________________________________________<br>Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br><br>bind-users mailing list<br><a ymailto="mailto:bind-users@lists.isc.org" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br><a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br><br> </div> </div> </blockquote></div>   </div></body></html>