<div dir="ltr">Hi Remi,<div><br></div><div>Yes my bad ... I missed that. Just a thought, next time the documentation is updated, Section 5.1.1 Examples and Section 15.6 Rules for traffic exceeding QPS limits could both use a note that it is UDP only. Since it is such a simple action, I didn't even look at the reference. </div><div><br></div><div>What do you think of this alternative, I could use the same MaxQPSIPRule rule and tag the query and pass it along to the recursor. In a lua script I could check the tag and add a delay. I need to read up on it .. but I am assuming the lua processing is multithreaded? I could also add a second MaxQPSIPRule with a higher qps value and add a DropAction to protect the recursor. </div><div><br></div><div>Thanks for your quick response,</div><div><br></div><div>Regards,</div><div>brian</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 16, 2019 at 8:49 AM Remi Gacogne <<a href="mailto:remi.gacogne@powerdns.com">remi.gacogne@powerdns.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">Hi Brian,<br>
<br>
On 8/15/19 3:35 PM, Brian Sullivan wrote:<br>
> Enclosed is the pcap file<br>
> <br>
> <br>
> My assumption is that I should have seen a 1 second delay added to <br>
> queries 3 - 10. Or at least some subset of them since the first delay <br>
> would have throttled the dns test client.<br>
<br>
Looking at the PCAP, it seems that you are sending your queries over <br>
TCP. I'm afraid DelayAction() is UDP-only at the moment. I believe it's <br>
mentioned in the documentation but perhaps we should make that clearer :-/<br>
<br>
Best regards,<br>
-- <br>
Remi Gacogne<br>
PowerDNS BV - <a href="https://www.powerdns.com/" rel="noreferrer" target="_blank">https://www.powerdns.com/</a><br>
_______________________________________________<br>
dnsdist mailing list<br>
<a href="mailto:dnsdist@mailman.powerdns.com" target="_blank">dnsdist@mailman.powerdns.com</a><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" rel="noreferrer" target="_blank">https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p><span></span><span><img src="https://docs.google.com/uc?export=download&id=0BzPp9aRH66f2d2JzS2ZRUHl6dEE&revid=0BzPp9aRH66f2SHFsTEhtT3JZUGs3aWwxY0MzSEF0VEJNVFJrPQ" width="200" height="50"> </span></p><p><span><span><font color="#666666">Brian M. Sullivan<br>Senior Staff Security Intelligence Engineer</font><br><font color="#0000ff"><a href="mailto:bsullivan@lookout.com" target="_blank">bsullivan@lookout.com</a></font> | <font color="#0000ff"><a href="http://www.lookout.com" target="_blank">www.lookout.com</a></font><font color="#666666"><br></font></span></span></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>