Package Details: blocky-bin 0.23-1

Git Clone URL: https://aur.archlinux.org/blocky-bin.git (read-only, click to copy)
Package Base: blocky-bin
Description: Fast and lightweight DNS proxy as ad-blocker
Upstream URL: https://github.com/0xERR0R/blocky
Keywords: adblock dns doh golang
Licenses: Apache
Provides: blocky
Submitter: erkexzcx
Maintainer: x0x01
Last Packager: x0x01
Votes: 4
Popularity: 0.000027
First Submitted: 2021-01-23 23:21 (UTC)
Last Updated: 2024-02-01 08:15 (UTC)

Pinned Comments

erkexzcx commented on 2021-01-23 23:23 (UTC)

Edit file /etc/blocky/blocky.yml according to upstream documentation. Then start & enable blocky.service.

For example, this is how my /etc/blocky/blocky.yml file looks like:

upstream:
    externalResolvers:
      - https://security.cloudflare-dns.com/dns-query

blocking:
    # definition of blacklist groups. Can be external link (http/https) or local file
    blackLists:
      blocklists:
        - http://sysctl.org/cameleon/hosts
        - https://dbl.oisd.nl/
        - https://mirror1.malwaredomains.com/files/justdomains
        - https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt
        - https://raw.githubusercontent.com/erkexzcx/disconnectme-pihole/master/services_Advertising.txt
        - https://raw.githubusercontent.com/erkexzcx/disconnectme-pihole/master/services_Analytics.txt
        - https://raw.githubusercontent.com/erkexzcx/disconnectme-pihole/master/services_Cryptomining.txt
        - https://raw.githubusercontent.com/erkexzcx/disconnectme-pihole/master/services_FingerprintingInvasive.txt
        - https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
        - https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
        - https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
        - https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
        - http://sysctl.org/cameleon/hosts
    clientGroupsBlock:
      default:
        - blocklists
    blockType: zeroIp
    refreshPeriod: 0

bootstrapDns: tcp:1.1.1.1

logLevel: error

Latest Comments

jamies commented on 2022-11-15 23:11 (UTC) (edited on 2022-11-15 23:12 (UTC) by jamies)

There's an issue with the service file: /usr/lib/systemd/system/blocky.service

To fix it:

sudo sed -i -e 's/network-online.target/multi-user.target/' /usr/lib/systemd/system/blocky.service
sudo systemctl daemon-reload
sudo systemctl enable blocky --now

prometheus commented on 2022-09-29 00:39 (UTC) (edited on 2022-09-29 13:47 (UTC) by prometheus)

Every time I start my computer I have to restart blocky otherwise it won't work. I even double checked if I "enabled" the blocky service.

erkexzcx commented on 2021-01-23 23:23 (UTC)

Edit file /etc/blocky/blocky.yml according to upstream documentation. Then start & enable blocky.service.

For example, this is how my /etc/blocky/blocky.yml file looks like:

upstream:
    externalResolvers:
      - https://security.cloudflare-dns.com/dns-query

blocking:
    # definition of blacklist groups. Can be external link (http/https) or local file
    blackLists:
      blocklists:
        - http://sysctl.org/cameleon/hosts
        - https://dbl.oisd.nl/
        - https://mirror1.malwaredomains.com/files/justdomains
        - https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt
        - https://raw.githubusercontent.com/erkexzcx/disconnectme-pihole/master/services_Advertising.txt
        - https://raw.githubusercontent.com/erkexzcx/disconnectme-pihole/master/services_Analytics.txt
        - https://raw.githubusercontent.com/erkexzcx/disconnectme-pihole/master/services_Cryptomining.txt
        - https://raw.githubusercontent.com/erkexzcx/disconnectme-pihole/master/services_FingerprintingInvasive.txt
        - https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
        - https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
        - https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
        - https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
        - http://sysctl.org/cameleon/hosts
    clientGroupsBlock:
      default:
        - blocklists
    blockType: zeroIp
    refreshPeriod: 0

bootstrapDns: tcp:1.1.1.1

logLevel: error