mirror of
https://github.com/minoplhy/DNSserver.git
synced 2024-11-24 10:16:54 +00:00
commit
d5ed66e1fc
@ -26,3 +26,4 @@ Query
|
|||||||
|
|
||||||
# Recommendation
|
# Recommendation
|
||||||
1. [knot-resolver](https://knot-resolver.cz) **Recommend** using upstream repository on debian
|
1. [knot-resolver](https://knot-resolver.cz) **Recommend** using upstream repository on debian
|
||||||
|
2. Download.sh **Recommend** if you want to download all the default filters used in kresd.conf(knot-resolver configuration)
|
||||||
|
@ -15,13 +15,16 @@ 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
|
||||||
|
-- "For personal and small office use-cases cache size around 100 MB is more than enough." -cz.nic
|
||||||
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))
|
||||||
|
8
download-filters.sh
Normal file
8
download-filters.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
wget -O /etc/knot-resolver/list/energized-ultimate.rpz https://block.energized.pro/ultimate/formats/rpz.txt
|
||||||
|
wget -O /etc/knot-resolver/list/oisd.rpz https://rpz.oisd.nl
|
||||||
|
wget -O /etc/knot-resolver/list/allowlist.rpz https://raw.githubusercontent.com/minoplhy/doh-dot-haproxy/beta-expos/filters/allowlist.rpz
|
||||||
|
wget -O /etc/knot-resolver/list/denylist.rpz https://raw.githubusercontent.com/minoplhy/doh-dot-haproxy/beta-expos/filters/denylist.rpz
|
||||||
|
wget -O /etc/knot-resolver/list/pgl-adserver.rpz https://pgl.yoyo.org/adservers/serverlist.php?hostformat=rpz&showintro=1&mimetype=plaintexthttps://pgl.yoyo.org/adservers/serverlist.php?hostformat=rpz&showintro=1&mimetype=plaintext
|
||||||
|
wget -O /etc/knot-resolver/list/energized-social.rpz https://block.energized.pro/extensions/social/formats/rpz.txt
|
||||||
|
wget -O /etc/knot-resolver/list/energized-regional.rpz https://block.energized.pro/extensions/regional/formats/rpz.tx
|
@ -1,3 +1,6 @@
|
|||||||
# List of third party filters besides my personal list
|
# List of third party filters besides my personal list
|
||||||
https://block.energized.pro/ultimate/formats/rpz.txt
|
https://block.energized.pro/ultimate/formats/rpz.txt
|
||||||
https://rpz.oisd.nl/
|
https://rpz.oisd.nl/
|
||||||
|
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=rpz&showintro=1&mimetype=plaintext
|
||||||
|
https://block.energized.pro/extensions/social/formats/rpz.txt
|
||||||
|
https://block.energized.pro/extensions/regional/formats/rpz.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user