Found the solution. Thanks

 

 

Rrds,

Mike

 

From: Mike Michalakis
Sent: Sunday, November 15, 2020 6:59 AM
To: knot-resolver-users@lists.nic.cz
Subject: [knot-resolver-users] blacklist.rpz

 

Hi,

I’ve stumbled across knot-resolver because I have an issue with my current DNS solution.

What is the best way to block a large number of domains.

I’ve trying to work with the below by it’s not functioning

 

Part of /etc/knot-resolver/kresd.conf

 

-- Domain Blocking

policy.add(

policy.rpz(policy.DENY_MSG('domain blocked by your IT department'),'/etc/knot-resolver/blacklist.rpz', true))

policy.add (

policy.rpz(policy.DENY, '/etc/knot-resolver/blacklist.rpz'))

 

/etc/knot-resolver/backlist.rpz

007bets.com,

 

 

Rrds,

Mike