mirror of
https://github.com/minoplhy/DNSserver.git
synced 2024-11-24 10:16:54 +00:00
Change policy.DENY >> policy.REFUSE
This commit is contained in:
parent
98c9af4147
commit
aead199402
@ -15,13 +15,15 @@ modules = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
-- Cache size https://knot-resolver.readthedocs.io/en/stable/daemon-bindings-cache.html#sizing
|
-- Cache size https://knot-resolver.readthedocs.io/en/stable/daemon-bindings-cache.html#sizing
|
||||||
|
|
||||||
cache.size = 100 * MB
|
cache.size = 100 * MB
|
||||||
|
|
||||||
-- policy help : https://knot-resolver.readthedocs.io/en/stable/modules-policy.html
|
-- policy help : https://knot-resolver.readthedocs.io/en/stable/modules-policy.html
|
||||||
-- This is Just a Blocklist
|
-- This is Just a Blocklist
|
||||||
policy.add(policy.rpz(policy.DENY, '/etc/knot-resolver/list/energized-ultimate.rpz',true))
|
policy.add(policy.rpz(policy.REFUSE, '/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.REFUSE, '/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/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.rpz(policy.PASS, '/etc/knot-resolver/list/allowlist.rpz',true))
|
||||||
policy.add(policy.all(policy.QTRACE))
|
policy.add(policy.all(policy.QTRACE))
|
||||||
|
Loading…
Reference in New Issue
Block a user