feat(blocky): add default blocklist, default whitelist, default group and enable customised prefetcher
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
parent
854d550cf6
commit
2664b85685
|
@ -159,11 +159,11 @@ clientLookup:
|
|||
# ips: []
|
||||
# -- Setup caching
|
||||
caching:
|
||||
minTime: 5m
|
||||
maxTime: 30m
|
||||
minTime: 15m
|
||||
maxTime: 0
|
||||
maxItemsCount: 0
|
||||
prefetching: false
|
||||
prefetchExpires: 2h
|
||||
prefetching: true
|
||||
prefetchExpires: 12h
|
||||
prefetchThreshold: 5
|
||||
prefetchMaxItemsCount: 0
|
||||
cacheTimeNegative: 30m
|
||||
|
@ -190,30 +190,30 @@ blocking:
|
|||
# -- Sets the block download attempt count
|
||||
downloadAttempts: 3
|
||||
# -- Sets the block download cooldown
|
||||
downloadCooldown: 2s
|
||||
downloadCooldown: 5s
|
||||
# -- Set the start strategy (blocking | failOnError | fast)
|
||||
startStrategy: blocking
|
||||
startStrategy: fast
|
||||
# -- Sets how many list-groups can be processed at the same time
|
||||
processingConcurrency: 4
|
||||
processingConcurrency: 8
|
||||
# -- Add blocky whitelists
|
||||
whitelist: []
|
||||
# - name: ads
|
||||
# lists:
|
||||
# - https://someurl.com/list.txt
|
||||
# - /somefile.txt
|
||||
whitelist:
|
||||
- name: default
|
||||
lists:
|
||||
- https://raw.githubusercontent.com/anudeepND/whitelist/master/domains/optional-list.txt
|
||||
- https://raw.githubusercontent.com/anudeepND/whitelist/master/domains/whitelist.txt
|
||||
- https://raw.githubusercontent.com/rahilpathan/pihole-whitelist/main/1.LowWL.txt
|
||||
|
||||
# -- Blocky blacklists
|
||||
blacklist: []
|
||||
# - name: ads
|
||||
# lists:
|
||||
# - https://someurl.com/list.txt
|
||||
# - /somefile.txt
|
||||
blacklist:
|
||||
- name: default
|
||||
lists:
|
||||
- https://big.oisd.nl/domainswild
|
||||
|
||||
# -- Blocky clientGroupsBlock
|
||||
clientGroupsBlock: []
|
||||
# - name: default
|
||||
# groups:
|
||||
# - ads
|
||||
clientGroupsBlock:
|
||||
- name: default
|
||||
groups:
|
||||
- default
|
||||
# -- configure using hostsfile for lookups
|
||||
# Allows for using the hosts configured in kubernetes and such
|
||||
hostsFile:
|
||||
|
@ -221,13 +221,7 @@ hostsFile:
|
|||
filePath: /etc/hosts
|
||||
hostsTTL: 60m
|
||||
refreshPeriod: 30m
|
||||
## TODO: add this with postgresql support as well
|
||||
# queryLog:
|
||||
# type: csv
|
||||
# target: /logs
|
||||
# logRetentionDays: 0
|
||||
# creationAttempts: 3
|
||||
# CreationCooldown: 2
|
||||
|
||||
podOptions:
|
||||
automountServiceAccountToken: true
|
||||
portal:
|
||||
|
|
Loading…
Reference in New Issue