[dnsdist] Re: MaxQPSIPRule per network range

bert.hubert at powerdns.com bert.hubert at powerdns.com
Tue Jan 26 12:54:34 UTC 2016

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())


More information about the dnsdist mailing list