#dns #dht #decentralized-identity #mainline

pkarr

Public-Key Addressable Resource Records (Pkarr); publish and resolve DNS records over Mainline DHT

63 releases (stable)

5.0.2 Jan 9, 2026
5.0.0 Oct 3, 2025
4.0.0 Sep 29, 2025
3.11.0 Sep 29, 2025
0.3.0 Oct 25, 2023

#171 in Network programming

Download history 6950/week @ 2025-10-21 6306/week @ 2025-10-28 7817/week @ 2025-11-04 6461/week @ 2025-11-11 6840/week @ 2025-11-18 6259/week @ 2025-11-25 7789/week @ 2025-12-02 7454/week @ 2025-12-09 6534/week @ 2025-12-16 4398/week @ 2025-12-23 5157/week @ 2025-12-30 8682/week @ 2026-01-06 9170/week @ 2026-01-13 15688/week @ 2026-01-20 15890/week @ 2026-01-27 17121/week @ 2026-02-03

59,414 downloads per month
Used in 218 crates (20 directly)

MIT license

210KB
4.5K SLoC

Pkarr

Rust implementation of Pkarr for publishing and resolving DNS packets over Mainline DHT.

Documentation

Features

Runtime Support

  • Asynchronous by Default: Built on async/await for optimal performance
  • Blocking API Available: Use Client::as_blocking() for synchronous operations
  • Runtime Agnostic: Compatible with non-Tokio runtimes via async_compat

WebAssembly

  • Browser Environment: Designed for JavaScript/Wasm integration
  • Relay Communication: Uses browser's Fetch API for relay calls
  • Limitations:
    • Not compatible with WASI
    • Cannot use WASI bindings for direct DHT access

Dependencies

~4–25MB
~311K SLoC