[Pdns-users] dnSentry - Lua script for Recursor

2021-09-01 Thread Greg Owen via Pdns-users
Hello, I just wanted to throw this out there in case anyone found it interesting - Lua scripts to turn PowerDNS Recursor into an allowlist DNS Firewall[1]. I realize the same thing can be done with RPZ, but I don't like Zone files and I do like Lua scripting :) Feedback welcomed, Greg [1]

Re: [Pdns-users] Sinkhole with whitelisting by using RPZ

2022-04-09 Thread Greg Owen via Pdns-users
I am new to powerdns and wanted to implement a kind of extended sinkhole by whitelisting some domains by using a RPZ file. The aim is - to allow only certain domain(s) for a certain IP but drop all other domains - and allow all domains for all other clients You might try dnSentry[1], a to

Re: [Pdns-users] Lua view record - how to return NXDOMAIN?

2024-10-29 Thread Greg Owen via Pdns-users
On Tue, Oct 29, 2024 at 10:14:29PM +, Djerk Geurts via Pdns-users wrote: > Is there a way to return NXDOMAIn instead of a valid response? > > test IN LUA CNAME > "view({{{'10.0.0.0/16'},{‘ns0.internal.domain.com.'}},{{'0.0.0.0/0'},{''}}})” > > I would like to return NXDOMAIN instead of SERVF