notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
dns-blackhole Send ads and trackers to a dead-end
0.1.0 dnsnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: dvl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-08-28 14:27:05
Last Update: 2025-08-28 14:26:02
Commit Hash: 9937d86
License: not specified in port
WWW:
https://github.com/morganwdavis/dns-blackhole
Description:
If you're running your own home network with a Unix-based server, you can easily integrate a DNS blackhole into a local BIND DNS service -- and best of all, it's completely free. If you're already using BIND and know your way around it, you can use this script to manage BIND's Response Policy Zone (RPZ) feature. RPZ is designed for DNS firewall/blocking purposes. The script should run on *BSD and Linux distros with proper pathnames configured. Out of the box, it has a FreeBSD default configuration.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (8 items)
Collapse this list.
  1. bin/dns-blackhole.sh
  2. etc/periodic/daily/901.dns-blackhole
  3. @sample etc/dns-blackhole/allowed_hosts.sample
  4. @sample etc/dns-blackhole/blocked_hosts.sample
  5. @sample etc/dns-blackhole/dns-blackhole.conf.sample
  6. @owner
  7. @group
  8. @mode
Collapse this list.
Dependency lines:
  • dns-blackhole>0:dns/dns-blackhole
To install the port:
cd /usr/ports/dns/dns-blackhole/ && make install clean
To add the package, run one of these commands:
  • pkg install dns/dns-blackhole
  • pkg install dns-blackhole
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: dns-blackhole
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1756390823 SHA256 (morganwdavis-dns-blackhole-0.1.0_GH0.tar.gz) = 814ea228695c7054f042b598cb0bec0b893794213c07534e6fb5517f017e541a SIZE (morganwdavis-dns-blackhole-0.1.0_GH0.tar.gz) = 5888

Packages (timestamps in pop-ups are UTC):
dns-blackhole
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-0.1.0--0.1.0---
FreeBSD:13:quarterly--------
FreeBSD:14:latest-0.1.0--0.1.0---
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
dns_dns-blackhole
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/morganwdavis/dns-blackhole/tar.gz/0.1.0?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.1.0
28 Aug 2025 14:26:02
commit hash: 9937d86c06904f32996713aeaa25f978b0fa57f2commit hash: 9937d86c06904f32996713aeaa25f978b0fa57f2commit hash: 9937d86c06904f32996713aeaa25f978b0fa57f2commit hash: 9937d86c06904f32996713aeaa25f978b0fa57f2 files touched by this commit
Dan Langille (dvl) search for other commits by this committer
dns/dns-blackhole: Add new port

Use BIND's Response Policy Zone (RPZ) feature to blackhole various DNS
queries.

Number of commits found: 1