/dnsblock

block ads via dns

Primary LanguageShellGNU General Public License v3.0GPL-3.0

dnsblock

Dnsblock provides a list of advertising, shocking, tracking and otherwise harmful sites that may be brought to your computer via your distro's package manager. When used with dnsmasq, dnsblock does not interfere in any way with your local dns setup such as hosts file.

Installation

Arch Linux

AUR

  • install from the AUR

From PKGBUILD

  • git clone https://github.com/jyn-n/dnsblock.git
  • cd dnsblock/package
  • makepkg
  • Install the package using pacman

Other Distros

  • git clone https://github.com/jyn-n/dnsblock.git
  • cd dnsblock/files
  • make install

Usage

  • install
  • point dnsmasq to /etc/dnsblock/dnsmasq or use /etc/dnsblock/blocklist in any way you like

Update Blocklists

To update the blocklist manually:

  • cd dnsblock/files
  • make update

current list of blocklists included