Created
October 1, 2024 11:20
-
-
Save ChitranshuV/3dc48b71fa73519bb047fc1bef48b9f2 to your computer and use it in GitHub Desktop.
Blocky config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstreams: | |
groups: | |
default: | |
- https://cloudflare-dns.com/dns-query | |
- https://dns.quad9.net/dns-query | |
init: | |
strategy: failOnError | |
ports: | |
dns: 53 | |
tls: 853 | |
https: 443 | |
http: 4000 | |
bootstrapDns: | |
- upstream: 1.1.1.1 | |
- upstream: 8.8.8.8 | |
- upstream: 9.9.9.9 | |
log: | |
level: info | |
format: text | |
timestamp: true | |
privacy: false | |
blocking: | |
denylists: | |
ads: | |
- https://big.oisd.nl/domainswild | |
- https://raw.githubusercontent.com/hagezi/dns-blocklists/main/wildcard/pro.txt | |
- https://raw.githubusercontent.com/hagezi/dns-blocklists/main/wildcard/tif.txt | |
custom: | |
- https://gist.githubusercontent.com/ChitranshuV/ae5121ce4145dc0c98826d8caee14903/raw/b717fdfadc3614970327ada76f29670ce5761f3c/NewsWildcard.txt | |
- https://gist.githubusercontent.com/ChitranshuV/5c06421113c1aa35b8f01397d2ad0777/raw/d7ff05c7a6b54f6a46917903388898d7b4d23530/SocialMediaWildcard.txt | |
adult: | |
- https://nsfw.oisd.nl/domainswild | |
blockType: nxDomain | |
clientGroupsBlock: | |
default: | |
- ads | |
- custom | |
- adult | |
loading: | |
refreshPeriod: 1h | |
strategy: failOnError | |
concurrency: 8 | |
downloads: | |
timeout: 5m | |
attempts: 3 | |
cooldown: 1s | |
caching: | |
minTime: 5m | |
maxTime: 30m | |
maxItemsCount: 0 | |
prefetching: true | |
prefetchExpires: 24h | |
prefetchThreshold: 2 | |
prefetchMaxItemsCount: 0 | |
prometheus: | |
enable: true | |
path: /home/chitranshu/Downloads/blocky_v0.24_Linux_x86_64/metrics | |
queryLog: | |
type: csv | |
target: /home/chitranshu/Downloads/blocky_v0.24_Linux_x86_64/logs | |
logRetentionDays: 7 | |
flushInterval: 30s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment