Line art of a Tui facing to the right

Kapiti DNS

Filtering DNS. Antivirus for the web.

Status

Kapiti is currently in a pre-alpha/prototype state and should not be used outside of testing and development.

Goals

Easy Installation

Kapiti is a DNS filter that blocks the spammers, scammers, and advertisers of the world.

However, unlike existing projects it does not need a dedicated environment to run. Instead it comes in a single executable and can just run directly on your machine like any other service.

Low Overhead

Kapiti intends to be fast and efficient, with a reasonable and predictable resource footprint.

It's built as a single Rust process, and avoids reinventing the wheel where it isn't necessary. Low resource requirements ensure that Kapiti can be run on a wide variety of systems - any Rust compilation target should work fine.

Technical Details

How It Works

Kapiti acts as a pass-through proxy for upstream DNS, working as a filter against the requests that are sent to it. The filter itself is driven by whitelist/blacklist files which allow or deny domains.

Whitelists may also include any hardcoded IPv4/IPv6 addresses that Kapiti should return - supporting the format used by /etc/hosts. This ensures that Kapiti can be a full drop-in replacement for your system DNS service.

Record Support

Many DNS implementations will support A (IPv4) records and sometimes AAAA (IPv6) records. Kapiti meanwhile intends to support all current DNS record types, even the really obscure ones. This ensures that it can function as a drop-in proxy for existing DNS, without compromises.

License/Credits

Kapiti is licensed under the Hippocratic License, version 2.1 or later. This is intended to restrict use of the project for purposes that would be considered unethical by its authors.

Site design: Element CSS + dark mode

Bird image: Prosthemadera Novae Zealandiae. Now known as Prosthemadera novaeseelandiae (tui), 1865-1885, by John Buchanan. Te Papa (1992-0035-2279/57)