Line art of a Tui facing to the right
Kapiti DNS

Filtering DNS to run anywhere. Antivirus for the web.

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 list 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 local system's existing DNS service.

Record Support

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

License

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

Site design: NES.css+some tweaks

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

Copyright 2020 Nicholas Parker and Kapiti Contributors