PowerDNS blog recommends setting dq.variable when a domain response is
part of the loaded block list.
But this example for modifying policy actions does not set dq.variable:
Is that oversight, should I set dq.variable if the policy action is
liable to changing? After all, it does affect the returned result.
Though in testing, I find the correct response for both cases of client
requested blocking or not blocking (how does it respond correct with the
wrong value in cache?)
By the way, this example has typo, Lua uses ~= but the example uses !=
PS, when dq.variable is set is this forcing referral to authoritative
name server on every query? Is there performance implications to
Pdns-users mailing list