diff options
author | Dirk Brenken <dev@brenken.org> | 2017-08-04 11:01:15 +0200 |
---|---|---|
committer | Dirk Brenken <dev@brenken.org> | 2017-08-04 11:01:15 +0200 |
commit | 9aba9ac5628b201258d96ba017621ac93b188f46 (patch) | |
tree | 8a89d5396dfd36fb2af8c139cc7e11b2e0df03f7 /net/adblock/files/README.md | |
parent | 5a58466cac323b6d7f2deca40ecefb8b170a3cae (diff) |
adblock: update 2.8.5
* add preliminary kresd dns backend support for turris devices,
see readme (experimental / untested!)
* use tld compression for overall list, too
* cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'net/adblock/files/README.md')
-rw-r--r-- | net/adblock/files/README.md | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/net/adblock/files/README.md b/net/adblock/files/README.md index 74b3d6928..14b74bfa0 100644 --- a/net/adblock/files/README.md +++ b/net/adblock/files/README.md @@ -57,7 +57,7 @@ A lot of people already use adblocker plugins within their desktop browsers, but * => daily updates, approx. 440 entries * zero-conf like automatic installation & setup, usually no manual changes needed * simple but yet powerful adblock engine: adblock does not use error prone external iptables rulesets, http pixel server instances and things like that -* automatically selects dnsmasq, unbound or bind as dns backend +* automatically selects dnsmasq, unbound, bind or kresd (experimental!) as dns backend. * automatically selects uclient-fetch or wget as download utility (other tools like curl or aria2c are supported as well) * support http only mode (without installed ssl library) for all non-SSL blocklist sources * automatically supports a wide range of router modes, even AP modes are supported @@ -157,6 +157,32 @@ create the new file '/etc/bind/db.rpz' and add: $INCLUDE /var/lib/bind/adb_list.overall </code></pre> +**change default dns backend to 'kresd':** +<pre><code> +The knot-resolver (kresd) support is only available to turris omnia users. At this stage there's no package for kresd in the official LEDE / OpenWrt package repository. +Adblock deposits the sorted and filtered block list (adb_list.overall) in '/tmp/kresd' where kresd can find them. +To use the block list please modify the following kresd configuration files (experimental / untested!): + +edit '/etc/config/resolver' and uncomment the following option: + option include_config '/etc/kresd/custom.conf' + +in the same file change the 'forward_upstream' option like that: + forward_upstream '0' + +edit '/etc/kresd/custom.conf' and add: + policy.add(policy.rpz(policy.DENY, '/etc/kresd/db.rpz')) + policy.add(policy.all(policy.FORWARD('8.8.8.8'))) + policy.add(policy.all(policy.FORWARD('8.8.4.4'))) + +create the new file '/etc/kresd/db.rpz' and add: + $TTL 2h + $ORIGIN rpz. + @ SOA localhost. root.localhost. (1 6h 1h 1w 2h) + NS localhost. + + $INCLUDE /tmp/kresd/adb_list.overall +</code></pre> + **configuration for different download utilities:** <pre><code> wget (default): |