[dnsdist] Rules and Whitelisting
Remi Gacogne
remi.gacogne at powerdns.com
Wed Jun 29 07:43:07 UTC 2016
Hi Alejandro,
On 06/29/2016 09:20 AM, Alejandro Adroher Mellado wrote:
> Now, I’m looking for how to prevent that those rules do not affect the
> queries coming from these whitelisted IPs.
It depends on how exactly are written those rules, but you could add a
new rule before those to explicitly allow queries coming from the
whitelisted IPs:
addAction(NetmaskGroupRule(whitelisted), AllowAction())
Please be aware that this rule will stop the subsequent rules from being
processed when it matches, so you might need to reorder your rules
accordingly.
Best regards,
--
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20160629/1038293a/attachment-0001.sig>
More information about the dnsdist
mailing list