BSD Ports

dns/kadnode 2.4.3 DragonFly

P2P name resolution daemon

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
dns
Package size
58.4 KiB, 130.3 KiB installed

Description

KadNode finds the IP address of other instances on the Internet or local network. It is used like DNS, but is based on the decentralized BitTorrent network.

KadNode intercepts .p2p domain queries on the systems level and resolves them using a decentralized Kademlia DHT network. Additionally, TLS authentication can be used to make sure the correct IP address was found. If successful, the IP address is passed to the application making the request.

Features:

* Support for two kinds of domains: ** public key domains as <public-key>.p2p *** No need to exchange any further keys/certificates *** Uses secp256r1 ECC key pairs ** named domains like yourdomain.com.p2p *** Needs pre-shared certificates (self-signed root certificates or e.g. Let's Encrypt) *** Uses TLS session handshake for authentication * IPv4/IPv6 support * UPnP/NAT-PMP support * Local peer discovery * Small size / ~100KB depending on features / ~50KB compressed * Command line control program * NSS support through /etc/nsswitch.conf * DNS server interface and DNS proxy ** Handles A (IPv4 address),AAAA (IPv6), and SRV requests * Packages for ArchLinux, Debian, FreeBSD, MacOSX, OpenWrt, Windows * Peer file import/export on startup/shutdown and every 24h * Uses sha256 hash method

In the other systems

The newest version among them is 2.4.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydns/kadnode2.4.3 newestnone known-[email protected]-
FreeBSDdns/kadnode2.4.3 newestnone known-[email protected]2026-09-10
HardenedBSDdns/kadnode2.4.3 newestno data-[email protected]-
GhostBSDdns/kadnode2.4.3 newestno data-[email protected]-

Version history 1

  1. 2.4.3

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install kadnode

From DPorts:

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

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

In order to resolve domains using kadnode all over the system, add this
line to your /etc/nsswitch.conf:

hosts: files kadnode dns

If the hosts line already exists, just add kadnode before the dns entry.