BSD Ports

dns/blocky 0.26.2 DragonFly

Fast and lightweight DNS proxy as ad-blocker

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
dns
Package size
6406.0 KiB, 25162.3 KiB installed

Description

Fast and lightweight DNS proxy as ad-blocker for local network with many features.

In the other systems

SystemPortVersion
DragonFlydns/blocky0.26.2
FreeBSDdns/blocky0.35.0_2
NetBSDwip/blocky0.34.0
HardenedBSDdns/blocky0.35.0
GhostBSDdns/blocky0.35.0

Install

Binary package:

pkg install blocky

From DPorts:

cd /usr/dports/dns/blocky && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

A sample configuration file is installed at the following location:
/usr/local/etc/blocky-config.yml.sample

Default location for configuration file when using rc.d script:
/usr/local/etc/blocky-config.yml

With the default configuration, blocky listens on port 53 (TCP and UDP).
If running as a non-root user, use a different port in blocky configuration,
such as `port: 5053`, or use mac_portacl(4) to allow binding to port 53.

Example setup for mac_portacl(4):

In /boot/loader.conf:

	mac_portacl_load="YES"

In /etc/sysctl.conf (where <ID> is the UID of your user):

	net.inet.ip.portrange.reservedhigh=0
	security.mac.portacl.rules=uid:<ID>:tcp:53,uid:<ID>:udp:53

Please refer to the documentation located at
https://0xerr0r.github.io/blocky/ for further information.