pfsense-sinkhole
DNS and IP blocking inside pfSense, with separate block lists for the whole network, each VLAN, or a single device.
The problem
DNS blocking on pfSense usually means one set of block lists for every client, or hand-written Unbound settings with no interface. Giving a kids' VLAN, a guest network or one device its own lists takes a separate DNS server on another box. And when lists load at startup, every restart or reload can leave the network without DNS until the downloads finish.
What I built
Sinkhole for pfSense, a native package that blocks names through the DNS Resolver and applies lists at three levels. Global lists cover everyone, a network adds its own on top, and a device adds its own on top of that, with allowed domains at every level. It also has alerts for the lists and clients you pick, SafeSearch locking, optional bypass protection, and IP and country blocking, all set up in the pfSense WebGUI in all 18 of its languages.
How it works
The PHP package writes compiled list files, and a Python module inside Unbound loads only those local files. Every list keeps its last good copy on the firewall, so DNS answers right after a restart and a failed download never takes a working list away. Blocked names answer with 0.0.0.0 and ::, IP blocking lives in its own firewall anchor that survives filter reloads, and alerts go out through pfSense's own notifications.
The outcome
A signed package that installs on supported pfSense CE and Plus releases, checks for its own updates, and keeps per-network and per-device control on the firewall with no second box.
Sinkhole started with a simple want: different blocking for different parts of a network. One list for kids, one for guests, and global lists for everyone. The usual answer on pfSense was a single set of lists for every client, and the hand-rolled Unbound setup that could do more went quiet for minutes after every reload while its lists loaded.
So I built the package I couldn’t find. The first release in November 2026 shipped saved lists, network and device scopes, scoped alerts, a popular-list search, bypass protection, and IP and country blocking with the administrator’s own GeoLite2 key. Since then it has gained a Clients tab where one device can hold several IP and MAC addresses, SafeSearch for the major search engines, and updates you can install from the About tab after the checksum and signature check out.
It stays neutral about lists on purpose. Sinkhole publishes none and recommends none; you add the sources you trust, and it makes sure DNS never waits on them.