[dnsdist] Re: MaxQPSIPRule per network range

ales at rygl.net ales at rygl.net
Tue Jan 26 13:10:20 UTC 2016


I see your point but... 

> addAction(AndRule(makeRule("::/0"),
MaxQPSIPRule(100)), DropAction())
Error: [string
"addAction(AndRule(makeRule("::/0"), MaxQPSIPR..."]:1: This function
requires at most 1 parameter(s): 


On Wed, 27 Jan 2016 14:58:22
+0100, bert hubert wrote: 

> On Wed, Jan 27, 2016 at 02:43:19PM +0100,
Ale¿ Rygl wrote:
>> I have different types of clients with different
requirements using my DNS servers. They can be identified by a network
range (IPv4 or IPv6). Is there a way how to setup qps limit per IP per
within a range? As far as I understand MaxQPSIPRule provides qps limit
for all clients while addQPSLimit can do it for all the clients within a
range. I would need to do both. QPSIP applied to a network range... Or
match them and delay.
> Hi Ale¿, Perhaps this would work:
addAction(AndRule(makeRule("::/0"), MaxQPSIPRule(100)), DropAction())
addAction(AndRule(makeRule(""), MaxQPSIPRule(100)),
DropAction()) Bert _______________________________________________
dnsdist mailing list dnsdist at mailman.powerdns.com [1]
https://mailman.powerdns.com/listinfo/dnsdist@mailman.powerdns.com [2]

[1] mailto:dnsdist at mailman.powerdns.com

More information about the dnsdist mailing list