[Pdns-users] How to make Policy.NODATA response in policy zone?

MRob mrobti at insiberia.net
Mon Apr 16 11:48:43 UTC 2018


On 2018-04-16 11:40, bert hubert wrote:
> On Mon, Apr 16, 2018 at 11:33:17AM +0000, MRob wrote:
>> I can make NXDOMAIN applied policy for a domain in policy zone with 
>> this:
>> example.com CNAME .
>> 
>> But how to cause NODATA response?
> 
> Hello "MRob",
> 
> We recommend that you read the documentation we wrote for you on
> https://doc.powerdns.com/recursor/lua-scripting/index.html

RPZ doxs are here
https://doc.powerdns.com/recursor/lua-config/rpz.html

With no information how to make the policy responses in the zone file. I 
had to spend plenty of time wandering around your docs until I find this 
examples:

https://github.com/PowerDNS/pdns/blob/master/pdns/basic.rpz

but it has no information about causing a NODATA response


More information about the Pdns-users mailing list