HNHacker News
TopNewBestAskShowJobs

rdme

114 karma · joined March 12, 2019

submissionscomments
rdme··on Show HN: I built a DNS resolver from scratch in Rust – no DNS libraries
Is it possible you didn't start it as root ( sudo numa install)? Does dig {mygivenname}.numa @127.0.0.1 return 127.0.0.1 ? What OS are you on? Maybe you report it as an issue?
rdme··on Show HN: I built a DNS resolver from scratch in Rust – no DNS libraries
Actually, if you point a container's DNS at the host (dns: [host.docker.internal] in compose), it works for resolution + ad blocking for the reverse however, I've added it on the radar, thanks!
rdme··on Show HN: I built a DNS resolver from scratch in Rust – no DNS libraries
Yes sir! The query log is at GET /querylog (or on the dashboard) shows every request with domain, type, path (forwarded/recursive/cached/blocked) and latency
rdme··on Show HN: I built a DNS resolver from scratch in Rust – no DNS libraries
Thanks! If you hit any issues during setup, feel free to open an issue — happy to help debug. The dashboard at localhost:5380 (or at https://numa.numa)
rdme··on Show HN: I built a DNS resolver from scratch in Rust – no DNS libraries
Yes, it is configurable as a list https://github.com/razvandimescu/numa/blob/main/numa.toml#L4...

There's also a per-domain allowlist and you can pause/unpause blocking from the dashboard or API.

Here's how the resolution pipeline looks like: https://numa.rs/blog/posts/dns-from-scratch.html#the-resolut...

rdme··on Show HN: I built a DNS resolver from scratch in Rust – no DNS libraries
Thanks! If you hit any issues during setup, feel free to open an issue — happy to help debug. The dashboard at localhost:5380 shows what's happening in real time.
rdme··on Show HN: I built a DNS resolver from scratch in Rust – no DNS libraries
Thanks! Let me know how it goes.
rdme··on Show HN: I built a DNS resolver from scratch in Rust – no DNS libraries
Since I needed it to be my primary DNS, I also added: recursive resolution from root nameservers, DNSSEC chain-of-trust validation, ad blocking (385K+ domains), and LAN service discovery.

I wrote about the DNSSEC implementation here: https://numa.rs/blog/posts/dnssec-from-scratch.html It's now my daily system DNS. Single binary (~8MB), macOS/Linux/Windows.

`sudo numa install`

← PreviousPage 2 of 2