[dnsdist] Rule for specific IP

Pieter Lexis pieter.lexis at powerdns.com
Tue Oct 31 09:07:38 UTC 2017

Hi Alejandro,

On Tue, 31 Oct 2017 07:46:15 +0000
Alejandro Adroher Mellado <alejandro.adroher at omniaccess.com> wrote:

> A doubt that I have had for a long time.
> It is possible to add a rule to block a domain for a specific IP?

Yes there is, the following config will do this:

    addAction(AndRule({makeRule('google.com'), makeRule('')}), DropAction())

This will block google.com (and everything under it) for


Pieter Lexis
PowerDNS.COM BV -- https://www.powerdns.com

More information about the dnsdist mailing list