You might find https://github.com/thommay/blocklister useful. This
script takes lists of domains - in the common adblock format - and
compiles them into a lua file, performing sorting and deduplication as
it goes.
On 05/03/2023 10:28, Clifford Dsouza via Pdns-users wrote:
Hi
I've configured
Hi
I've configured Powerdns to block certain domain using lua..
The lua file the recursor.conf refers to has the below code
-
blocked_domains=newDS()
blocked_domains:add(dofile("/etc/pdns-recursor/blocklist.lua"))
function preresolve(dq)