diff --git a/configuration/kresd.conf b/configuration/kresd.conf index fefa221..527d72e 100644 --- a/configuration/kresd.conf +++ b/configuration/kresd.conf @@ -15,13 +15,15 @@ modules = { } -- Cache size https://knot-resolver.readthedocs.io/en/stable/daemon-bindings-cache.html#sizing - cache.size = 100 * MB -- policy help : https://knot-resolver.readthedocs.io/en/stable/modules-policy.html -- This is Just a Blocklist -policy.add(policy.rpz(policy.DENY, '/etc/knot-resolver/list/energized-ultimate.rpz',true)) -policy.add(policy.rpz(policy.DENY, '/etc/knot-resolver/list/denylist.rpz',true)) -policy.add(policy.rpz(policy.DENY, '/etc/knot-resolver/list/oisd.rpz',true)) +policy.add(policy.rpz(policy.REFUSE, '/etc/knot-resolver/list/energized-ultimate.rpz',true)) +policy.add(policy.rpz(policy.REFUSE, '/etc/knot-resolver/list/denylist.rpz',true)) +policy.add(policy.rpz(policy.REFUSE, '/etc/knot-resolver/list/oisd.rpz',true)) +policy.add(policy.rpz(policy.REFUSE, '/etc/knot-resolver/list/pgl-adserver.rpz',true)) +policy.add(policy.rpz(policy.REFUSE, '/etc/knot-resolver/list/energized-social.rpz',true)) +policy.add(policy.rpz(policy.REFUSE, '/etc/knot-resolver/list/energized-regional.rpz',true)) policy.add(policy.rpz(policy.PASS, '/etc/knot-resolver/list/allowlist.rpz',true)) policy.add(policy.all(policy.QTRACE))