惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
雷峰网
雷峰网
Apple Machine Learning Research
Apple Machine Learning Research
WordPress大学
WordPress大学
博客园 - 司徒正美
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
爱范儿
爱范儿
月光博客
月光博客
The GitHub Blog
The GitHub Blog
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
B
Blog
T
Tailwind CSS Blog
美团技术团队
D
Docker
V
Visual Studio Blog
Martin Fowler
Martin Fowler
博客园 - 聂微东
The Cloudflare Blog

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - blocky-bin
2026-06-23 · via AUR Newest Packages

Pinned Comments

x0x01 commented on 2024-05-19 07:21 (UTC)

Minimum working v0.23 configuration

upstream:
  default:
    - 46.182.19.48
    - 80.241.218.68
    - tcp-tls:fdns1.dismail.de:853
    - https://dns.digitale-gesellschaft.ch/dns-query

blocking:
  blackLists:
    ads:
      - https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
  clientGroupsBlock:
    default:
      - ads

ports:
  dns: 53
  http: 4000

Latest Comments

lim commented on 2025-10-15 16:27 (UTC)

Upgrading the package fails with the following error message: ~/.cache/yay/blocky-bin/PKGBUILD: line 40: cd: null directory, when using yay. I changed the $src into $srcdir and makepkg succeeded to build it, so that may be a typo?

x0x01 commented on 2024-05-19 07:21 (UTC)

Minimum working v0.23 configuration

upstream:
  default:
    - 46.182.19.48
    - 80.241.218.68
    - tcp-tls:fdns1.dismail.de:853
    - https://dns.digitale-gesellschaft.ch/dns-query

blocking:
  blackLists:
    ads:
      - https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
  clientGroupsBlock:
    default:
      - ads

ports:
  dns: 53
  http: 4000

prometheus commented on 2024-05-14 06:52 (UTC) (edited on 2024-05-17 17:57 (UTC) by prometheus)

Sample config file for v0.23

ports:
  dns: 127.0.0.1:53,[::1]:53

upstreams:
  groups:
    default:
      - https://security.cloudflare-dns.com/dns-query
      - https://firefox.dns.nextdns.io

blocking:
  blackLists:
    all:
      - https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/wildcard/ultimate.txt #extreme ads, malware etc from hagezi
#      - https://nsfw.oisd.nl/domainswild #NSFW from oisd
  blockType: nxDomain
  clientGroupsBlock:
    default:
      - all

bootstrapDns:
  - 9.9.9.9
  - 1.0.0.1


# only if you want blocky to read your hosts file
hostsFile:
  sources:
  - /etc/hosts
  loading:
    refreshPeriod: 30m  
    strategy: fast
  hostsTTL: 1h

prometheus commented on 2024-05-14 06:46 (UTC)

As commented by jamies there is a bug in the systemd service file for a long time. @x0x01, can you please update the systemd service file?

Also the config in the pinned comment might be a bit outdated.

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