[dnsdist] Proper way to add two actions to one match?

Andrew Imeson andrew at andrewimeson.com
Thu Jan 19 16:25:09 UTC 2023


Is this the best way to apply both actions to the same matching rule?

addAction(RE2Rule('_acme-challenge\\..*'), SetSkipCacheAction())
addAction(RE2Rule('_acme-challenge\\..*'), PoolAction('CleanBrowsingAdult'))

It works, but is there a more concise way to add multiple actions for a particular match expression?

Thanks!
Andrew Imeson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20230119/de7d1bed/attachment.sig>


More information about the dnsdist mailing list