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]
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
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