HeadlinesBriefing favicon HeadlinesBriefing.com

numa DNS Resolver: Local Service Domains with Auto-TLS

Hacker News •
×

Developer Razvan Dimescu has released numa, a portable DNS resolver written in Rust that transforms how developers manage local services. The tool replaces localhost:port notation with memorable .numa domains like frontend.numa, complete with auto-generated TLS certificates and WebSocket passthrough for hot module replacement.

Built from scratch without DNS libraries, numa parses RFC 1035 wire protocol by hand and includes caching, ad blocking with 385K+ domains via Hagezi Pro, and optional recursive resolution with full DNSSEC chain-of-trust validation. The entire system runs in a single ~8MB binary that works across macOS, Linux, and Windows without requiring cloud accounts or additional infrastructure.

The tool stands out with its developer-friendly features: a REST API for service management, LAN discovery for cross-machine service sharing, and three resolution modes including encrypted DoH fallback. Performance benchmarks show 691ns cached round-trip times and 2.0M queries per second throughput with zero heap allocations in the hot path.